From 82a407a0e3985b3ff3246d38b9ccc0b00cacb05b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 18 Oct 2020 00:35:18 +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 8aaa6d3..fb87230 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -1,5 +1,5 @@ -file(GLOB unit_tests_files "*.cpp" "*.h" "*.hpp" "*.rc") -add_executable(unit_tests ${unit_tests_files}) +file(GLOB unit_tests_src "*.cpp" "*.h" "*.hpp" "*.rc") +add_executable(unit_tests ${unit_tests_src}) set_target_properties(unit_tests PROPERTIES OUTPUT_NAME winapi-common-unit-tests) target_link_libraries(unit_tests PRIVATE winapi_common winapi_utf8) -- cgit v1.2.3