diff options
author | crupest <crupest@outlook.com> | 2022-01-25 16:51:17 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-25 16:51:17 +0800 |
commit | a77fb1aaa4aa765ae51b3cb5a1f8d9c8c233b01a (patch) | |
tree | c462ca0c85a1d29f5a7a1fe109a2cbcf0dcff637 /demos/input_method/CMakeLists.txt | |
parent | 000e289d06342aaf2c4b0b8cd264401aba1ba3b5 (diff) | |
download | cru-a77fb1aaa4aa765ae51b3cb5a1f8d9c8c233b01a.tar.gz cru-a77fb1aaa4aa765ae51b3cb5a1f8d9c8c233b01a.tar.bz2 cru-a77fb1aaa4aa765ae51b3cb5a1f8d9c8c233b01a.zip |
...
Diffstat (limited to 'demos/input_method/CMakeLists.txt')
-rw-r--r-- | demos/input_method/CMakeLists.txt | 10 |
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() |