diff options
author | crupest <crupest@outlook.com> | 2021-03-24 22:58:07 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-03-24 22:58:07 +0800 |
commit | ba43736c55ad510942e9e83ca0c8bea7265cf055 (patch) | |
tree | a27a804ea3b95dbe33dde47568fe23b7f98439f6 /demos/CMakeLists.txt | |
parent | 7f15a1ff9a2007e119798053083a0a87d042990a (diff) | |
download | cru-ba43736c55ad510942e9e83ca0c8bea7265cf055.tar.gz cru-ba43736c55ad510942e9e83ca0c8bea7265cf055.tar.bz2 cru-ba43736c55ad510942e9e83ca0c8bea7265cf055.zip |
...
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() |