diff --git a/spine-ios/Sources/SpineCppLite/include/module.modulemap b/spine-ios/Sources/SpineCppLite/include/module.modulemap index c79fa7471..17f1dd153 100644 --- a/spine-ios/Sources/SpineCppLite/include/module.modulemap +++ b/spine-ios/Sources/SpineCppLite/include/module.modulemap @@ -1,4 +1,13 @@ module SpineCppLite { - header "spine-cpp-lite.h" - export * + use c + export c + explicit module cpp { + umbrella header "spine/spine.h" + requires cplusplus11 + export * + } + explicit module c { + header "spine-cpp-lite.h" + export * + } }