From 3507aa0a218b9ace26b1b122a607ca8d22c11a22 Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Mon, 13 Apr 2020 17:00:37 +0200 Subject: [PATCH] rename variable --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a451330..086e31b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -32,8 +32,8 @@ CPMAddPackage( # ---- Create binary ---- -file(GLOB GreeterTests_sources ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) -add_executable(GreeterTests ${GreeterTests_sources}) +file(GLOB sources ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) +add_executable(GreeterTests ${sources}) target_link_libraries(GreeterTests doctest Greeter) if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")