We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b638452 commit 92cbbe2Copy full SHA for 92cbbe2
1 file changed
test/CMakeLists.txt
@@ -63,6 +63,13 @@ set_target_properties(
63
64
# CMAKE_SYSTEM_NAME refers to the target system
65
if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
66
+ # Clean pre-existing framework bundles (they are committed for SCons, but break CMake framework generation)
67
+ file(
68
+ REMOVE_RECURSE
69
+ "${CMAKE_SOURCE_DIR}/project/bin/libgdexample.macos.template_debug.framework"
70
+ "${CMAKE_SOURCE_DIR}/project/bin/libgdexample.macos.template_release.framework"
71
+ )
72
+
73
set_target_properties(
74
${TARGET_NAME}
75
PROPERTIES
0 commit comments