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()
|
# find_library()
|
||||||
|
set(CPPUTEST_DIR "./cpputest/include")
|
||||||
|
|
||||||
if (UNIT_TESTING)
|
if (UNIT_TESTING)
|
||||||
message(STATUS "CPPUTEST_LIB: ${CPPUTEST_LIB}")
|
include_directories(
|
||||||
add_subdirectory(cpputest)
|
${CPPUTEST_DIR}/CppUTest
|
||||||
|
${CPPUTEST_DIR}/CppUTestExt
|
||||||
|
)
|
||||||
|
message(STATUS "CPPUTEST_DIR: ${CPPUTEST_DIR}")
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue