We need 3rdparty for the normal build as well

This commit is contained in:
Martijn Otto 2018-02-24 17:53:02 +01:00
parent 1fceec760f
commit 6565274ce8
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ include_directories(${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/3rdparty
find_package(PCRE REQUIRED) find_package(PCRE REQUIRED)
set(LIBS ${PCRE_LIBRARIES} r3) set(LIBS ${PCRE_LIBRARIES} r3 lib3rdparty)
enable_testing() enable_testing()

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 lib3rdparty) set(TEST_LIBS ${LIBS} ${CHECK_LIBRARIES} ${PCRE_LIBRARIES} r3)
include_directories(${CHECK_INCLUDE_DIRS}) include_directories(${CHECK_INCLUDE_DIRS})
# include_directories("${PROJECT_SOURCE_DIR}/include/r2") # include_directories("${PROJECT_SOURCE_DIR}/include/r2")