CMake: There is no need for PCRE when building the lib

This commit is contained in:
Daniel Marjamäki 2011-03-26 09:33:21 +01:00
parent 43b2e65d28
commit 0ff5320d19
1 changed files with 0 additions and 3 deletions

View File

@ -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})