From 9ed598e0bba12434fe723fbecfb1d767846300a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Isager=20Dalsgar=C3=B0?= Date: Mon, 19 Aug 2024 12:24:48 +0200 Subject: [PATCH] Don't bundle `bare` into an `.app` when targeting iOS --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index aef9768..189816c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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