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/benchmarks/CMakeLists.txt | 4 ++-- test/unit_tests/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/benchmarks/CMakeLists.txt b/test/benchmarks/CMakeLists.txt index 340dbcc..0e168cc 100644 --- a/test/benchmarks/CMakeLists.txt +++ b/test/benchmarks/CMakeLists.txt @@ -1,5 +1,5 @@ -file(GLOB benchmarks_cpp "*.cpp") -add_executable(benchmarks ${benchmarks_cpp}) +file(GLOB benchmarks_src "*.cpp") +add_executable(benchmarks ${benchmarks_src}) set_target_properties(benchmarks PROPERTIES OUTPUT_NAME math-server-benchmarks) target_link_libraries(benchmarks PRIVATE lexer) 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