aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/client
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 00:34:02 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 00:34:02 +0300
commit6b009273e76711fd484d436d0b6835cc6aa32089 (patch)
tree5cf230ee2a854247deb6c66eeb2595363d7ab60e /client
parentAppVeyor: reorder images, VS 2019 first (diff)
downloadmath-server-6b009273e76711fd484d436d0b6835cc6aa32089.tar.gz
math-server-6b009273e76711fd484d436d0b6835cc6aa32089.zip
cmake: files are per-directory, not per-extension
Diffstat (limited to 'client')
-rw-r--r--client/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt
index dba0eea..f9765bd 100644
--- a/client/CMakeLists.txt
+++ b/client/CMakeLists.txt
@@ -1,6 +1,5 @@
-file(GLOB client_cpp "*.cpp")
-file(GLOB client_hpp "*.hpp")
-add_executable(client ${client_cpp} ${client_hpp})
+file(GLOB client_src "*.cpp" "*.hpp")
+add_executable(client ${client_src})
set_target_properties(client PROPERTIES OUTPUT_NAME math-client)
set(CMAKE_THREAD_PREFER_PTHREAD ON)