mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-12-18 12:34:36 +03:00
rename variable
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user