Skip to content

Commit 92cbbe2

Browse files
committed
delete clashing framework dirs that are needed by scons.
1 parent b638452 commit 92cbbe2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

test/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ set_target_properties(
6363

6464
# CMAKE_SYSTEM_NAME refers to the target system
6565
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+
6673
set_target_properties(
6774
${TARGET_NAME}
6875
PROPERTIES

0 commit comments

Comments
 (0)