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 --- test/unit_tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit_tests') diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index d84829d..099fc2c 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -1,5 +1,5 @@ -file(GLOB unit_tests_cpp "*.cpp") -add_executable(unit_tests ${unit_tests_cpp}) +file(GLOB unit_tests_src "*.cpp") +add_executable(unit_tests ${unit_tests_src}) set_target_properties(unit_tests PROPERTIES OUTPUT_NAME math-server-unit-tests) target_link_libraries(unit_tests PRIVATE lexer parser) -- cgit v1.2.3