From 6b009273e76711fd484d436d0b6835cc6aa32089 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 18 Oct 2020 00:34:02 +0300 Subject: cmake: files are per-directory, not per-extension --- client/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'client/CMakeLists.txt') 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) -- cgit v1.2.3