diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 625b2f686..5ea9334cd 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -3,8 +3,6 @@ # - cli # - tests # - Qt GUI -find_package(PCRE REQUIRED) -include_directories("${PCRE_INCLUDE_DIR}") set(CPPCHECK_LIB_DIR "") include("library_sources.cmake") @@ -14,4 +12,3 @@ if (CMAKE_COMPILER_IS_GNUCXX) endif (CMAKE_COMPILER_IS_GNUCXX) add_library(checklib STATIC ${CPPCHECK_LIB_SOURCES}) -target_link_libraries(checklib ${PCRE_LIBRARIES})