From 6f1edc1604341b32e13371c8a4ad431e9a00cc87 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 21 Oct 2021 21:29:06 +0800 Subject: ... --- demos/input_method/CMakeLists.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'demos') 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) + -- cgit v1.2.3