Added def/define in main CMakeLists.txt
+ added def for UNIT_TESTING
This commit is contained in:
parent
22c191363e
commit
a3d7307d96
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ set(CMAKE_CXX_FLAGS "-Wall -Werror -Wpedantic")
|
|||
|
||||
|
||||
if (UNIT_TESTING)
|
||||
|
||||
add_definitions(-DUNIT_TESTING)
|
||||
if(DEFINED ENV{CPPUTEST_HOME})
|
||||
message(STATUS "Using CppUTest home: $ENV{CPPUTEST_HOME}")
|
||||
set(CPPUTEST_INCLUDE_DIRS $ENV{CPPUTEST_HOME}/include)
|
||||
|
|
Loading…
Add table
Reference in a new issue