We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81d2f35 commit 353d099Copy full SHA for 353d099
1 file changed
CMakeLists.txt
@@ -76,7 +76,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "iOS"
76
OR CMAKE_SYSTEM_NAME MATCHES "visionOS"
77
OR CMAKE_SYSTEM_NAME MATCHES "watchOS")
78
set(MATERIALX_BUILD_APPLE_EMBEDDED ON)
79
- set(__build_apple_framework ON)
+ set(__build_apple_framework ${MATERIALX_BUILD_SHARED_LIBS})
80
# TARGET_OS_IPHONE refers to all IPHONE derived platforms
81
# https://chaosinmotion.com/2021/08/02/things-to-remember-compiler-conditionals-for-macos-ios-etc/
82
# This should be auto-defined, but leaving it in here because it was historically defined
0 commit comments