We need to link to 3rdparty to be able to build the tests

This commit is contained in:
Martijn Otto 2018-02-24 17:50:33 +01:00
parent 2f96c59929
commit 1fceec760f

View file

@ -7,7 +7,7 @@ find_package(PCRE REQUIRED)
if (NOT CHECK_FOUND) if (NOT CHECK_FOUND)
message(STATUS "Skipping unit tests, Check library not found!") message(STATUS "Skipping unit tests, Check library not found!")
else (NOT CHECK_FOUND) else (NOT CHECK_FOUND)
set(TEST_LIBS ${LIBS} ${CHECK_LIBRARIES} ${PCRE_LIBRARIES} r3) set(TEST_LIBS ${LIBS} ${CHECK_LIBRARIES} ${PCRE_LIBRARIES} r3 lib3rdparty)
include_directories(${CHECK_INCLUDE_DIRS}) include_directories(${CHECK_INCLUDE_DIRS})
# include_directories("${PROJECT_SOURCE_DIR}/include/r2") # include_directories("${PROJECT_SOURCE_DIR}/include/r2")