We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4c15a9 commit 9bc665fCopy full SHA for 9bc665f
1 file changed
test/CMakeLists.txt
@@ -65,6 +65,16 @@ set_target_properties(
65
if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
66
set_target_properties(
67
${TARGET_NAME}
68
- PROPERTIES OUTPUT_NAME "gdexample.macos.${GODOTCPP_TARGET}" SUFFIX ".framework"
+ PROPERTIES
69
+ OUTPUT_NAME "libgdexample.macos.${GODOTCPP_TARGET}"
70
+ FRAMEWORK TRUE
71
+ FRAMEWORK_VERSION A
72
+ MACOSX_FRAMEWORK_IDENTIFIER "com.godot.gdexample" # can be anything, doesn't matter much
73
+ MACOSX_FRAMEWORK_BUNDLE_VERSION 1.0
74
+ MACOSX_FRAMEWORK_SHORT_VERSION_STRING 1.0
75
+ # These help with rpath and universal builds
76
+ MACOSX_RPATH TRUE
77
+ INSTALL_NAME_DIR "@rpath"
78
+ BUILD_WITH_INSTALL_NAME_DIR TRUE
79
)
80
endif()
0 commit comments