Skip to content

Commit

Permalink
mac: Fix BUNDLE DESTINATION in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
IonAgorria committed Jun 14, 2024
1 parent d2e17d3 commit 1723b33
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Source/Game/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,11 @@ IF(APPLE)
SET_TARGET_PROPERTIES(perimeter PROPERTIES
MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_INFO_PLIST "${PROJECT_SOURCE_DIR}/macos/DebugInfo.plist"
BUNDLE DESTINATION ${CMAKE_SOURCE_DIR}
)
ELSE()
SET_TARGET_PROPERTIES(perimeter PROPERTIES
MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_INFO_PLIST "${PROJECT_SOURCE_DIR}/macos/Perimeter.app.template/Contents/Info.plist"
BUNDLE DESTINATION ${CMAKE_SOURCE_DIR}
)
ENDIF()
ENDIF()
Expand All @@ -187,4 +185,7 @@ ENDIF()
target_link_libraries(perimeter PRIVATE ${perimeter_LINK_LIBS})

#Install rules
install (TARGETS perimeter RUNTIME)
install (TARGETS perimeter
RUNTIME
BUNDLE DESTINATION ${CMAKE_SOURCE_DIR}
)

0 comments on commit 1723b33

Please sign in to comment.