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.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/demos/input_method/CMakeLists.txt b/demos/input_method/CMakeLists.txt
index 7f8be37a..3a290f3a 100644
--- a/demos/input_method/CMakeLists.txt
+++ b/demos/input_method/CMakeLists.txt
@@ -1,12 +1,10 @@
+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)
+if(APPLE)
set_target_properties(demo_input_method PROPERTIES
- BUNDLE TRUE
- MACOSX_BUNDLE_GUI_IDENTIFIER life.crupest.cru.demo-input-method
+ MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_BUNDLE_NAME demo-input-method
+ MACOSX_BUNDLE_GUI_IDENTIFIER life.crupest.cru.demo-input-method
)
endif()