diff options
author | crupest <crupest@outlook.com> | 2021-10-21 21:29:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-21 21:29:06 +0800 |
commit | 6f1edc1604341b32e13371c8a4ad431e9a00cc87 (patch) | |
tree | 73b719af474789b14bfec9c7323c896a7927a45e /demos | |
parent | 2d8237bf58ef0a9074d05aed2fe98d739f5e3bf0 (diff) | |
download | cru-6f1edc1604341b32e13371c8a4ad431e9a00cc87.tar.gz cru-6f1edc1604341b32e13371c8a4ad431e9a00cc87.tar.bz2 cru-6f1edc1604341b32e13371c8a4ad431e9a00cc87.zip |
...
Diffstat (limited to 'demos')
-rw-r--r-- | demos/input_method/CMakeLists.txt | 14 |
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) + |