updated to check the git submodule for the header files needed.
This commit is contained in:
parent
f7a06af54f
commit
c284745e23
|
@ -37,11 +37,14 @@ set(CMAKE_CXX_FLAGS "-Wall -Werror -Wpedantic")
|
|||
# #######################################
|
||||
|
||||
# find_library()
|
||||
|
||||
set(CPPUTEST_DIR "./cpputest/include")
|
||||
|
||||
if (UNIT_TESTING)
|
||||
message(STATUS "CPPUTEST_LIB: ${CPPUTEST_LIB}")
|
||||
add_subdirectory(cpputest)
|
||||
include_directories(
|
||||
${CPPUTEST_DIR}/CppUTest
|
||||
${CPPUTEST_DIR}/CppUTestExt
|
||||
)
|
||||
message(STATUS "CPPUTEST_DIR: ${CPPUTEST_DIR}")
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue