aboutsummaryrefslogtreecommitdiff
path: root/demos/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'demos/CMakeLists.txt')
-rw-r--r--demos/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/CMakeLists.txt b/demos/CMakeLists.txt
index f975a6e9..1a86c69f 100644
--- a/demos/CMakeLists.txt
+++ b/demos/CMakeLists.txt
@@ -1,14 +1,14 @@
add_library(cru_demo_base INTERFACE)
-target_link_libraries(cru_demo_base INTERFACE cru_platform_boostrap)
+target_link_libraries(cru_demo_base INTERFACE cru_platform_bootstrap)
if(WIN32) # Currently only enable tests on Windows.
add_subdirectory(main)
add_subdirectory(scroll_view)
add_subdirectory(input_method)
-endif()
-
-if(UNIX AND NOT APPLE)
+elseif(APPLE)
+ add_subdirectory(input_method)
+elseif(UNIX)
add_subdirectory(xcb)
endif()