1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00

rename variable

This commit is contained in:
Lars Melchior 2020-04-13 17:00:37 +02:00
parent 8a50497b19
commit 3507aa0a21

View file

@ -32,8 +32,8 @@ CPMAddPackage(
# ---- Create binary ---- # ---- Create binary ----
file(GLOB GreeterTests_sources ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) file(GLOB sources ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
add_executable(GreeterTests ${GreeterTests_sources}) add_executable(GreeterTests ${sources})
target_link_libraries(GreeterTests doctest Greeter) target_link_libraries(GreeterTests doctest Greeter)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")