diff --git a/CMakeLists.txt b/CMakeLists.txt index 6685d6c..84a1e51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ include_directories(${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/3rdparty find_package(PCRE REQUIRED) -set(LIBS ${PCRE_LIBRARIES} r3) +set(LIBS ${PCRE_LIBRARIES} r3 lib3rdparty) enable_testing() diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index fbc30ca..3e7013c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -7,7 +7,7 @@ find_package(PCRE REQUIRED) if (NOT CHECK_FOUND) message(STATUS "Skipping unit tests, Check library not 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("${PROJECT_SOURCE_DIR}/include/r2")