Skip to content

Commit

Permalink
Don't bundle bare into an .app when targeting iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Aug 19, 2024
1 parent 11760b9 commit 9ed598e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,14 @@ set_target_properties(
RUNTIME_OUTPUT_DIRECTORY bin
)

if(target MATCHES "ios")
set_target_properties(
bare_bin
PROPERTIES
MACOSX_BUNDLE FALSE
)
endif()

target_link_libraries(
bare_bin
PUBLIC
Expand Down

0 comments on commit 9ed598e

Please sign in to comment.