diff options
Diffstat (limited to 'demos/CMakeLists.txt')
-rw-r--r-- | demos/CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/demos/CMakeLists.txt b/demos/CMakeLists.txt index 16159d08..cf27d408 100644 --- a/demos/CMakeLists.txt +++ b/demos/CMakeLists.txt @@ -4,5 +4,11 @@ if(WIN32) target_link_libraries(cru_demo_base INTERFACE cru_win_gui) endif() -add_subdirectory(main) -add_subdirectory(input_method) +if(WIN32) # Currently only enable tests on Windows. + add_subdirectory(main) + add_subdirectory(input_method) +endif() + +if(UNIX) + add_subdirectory(xcb) +endif() |