aboutsummaryrefslogtreecommitdiff
path: root/demos/input_method/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'demos/input_method/CMakeLists.txt')
-rw-r--r--demos/input_method/CMakeLists.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/demos/input_method/CMakeLists.txt b/demos/input_method/CMakeLists.txt
index 98e36e29..4c94bcbd 100644
--- a/demos/input_method/CMakeLists.txt
+++ b/demos/input_method/CMakeLists.txt
@@ -1,2 +1,14 @@
-add_executable(demo_input_method main.cpp)
+
+if(NOT APPLE)
+ add_executable(demo_input_method main.cpp)
+else()
+ add_executable(demo_input_method MACOSX_BUNDLE main.cpp)
+ set_target_properties(demo_input_method PROPERTIES
+ BUNDLE TRUE
+ MACOSX_BUNDLE_GUI_IDENTIFIER life.crupest.cru.demo_input_method
+ MACOSX_BUNDLE_BUNDLE_NAME demo_input_method
+ )
+endif()
+
target_link_libraries(demo_input_method PRIVATE cru_demo_base)
+