Skip to content

Commit 5448f2c

Browse files
committed
another go at making a framework as previous attempts were failing
1 parent f4c15a9 commit 5448f2c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

test/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ set_target_properties(
6565
if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
6666
set_target_properties(
6767
${TARGET_NAME}
68-
PROPERTIES OUTPUT_NAME "gdexample.macos.${GODOTCPP_TARGET}" SUFFIX ".framework"
68+
PROPERTIES
69+
FRAMEWORK TRUE
70+
FRAMEWORK_VERSION A
71+
MACOSX_FRAMEWORK_IDENTIFIER com.yourname.gdexample
72+
MACOSX_FRAMEWORK_BUNDLE_VERSION 1.0
73+
MACOSX_FRAMEWORK_SHORT_VERSION_STRING 1.0
74+
OUTPUT_NAME "gdexample.macos.${GODOTCPP_TARGET}"
6975
)
7076
endif()

0 commit comments

Comments
 (0)