summaryrefslogtreecommitdiffstats
path: root/kjs
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-08 03:07:46 -0600
committerTimothy Pearson <[email protected]>2012-01-08 03:07:46 -0600
commitb911168351033cde8e3b524060722e0001c27bda (patch)
tree15f51b276fad5454bfddd75c3f93d38779ad7a9a /kjs
parent87201a3741bd9d4b4638be7b3d8c44a737115b0f (diff)
downloadtdelibs-b911168351033cde8e3b524060722e0001c27bda.tar.gz
tdelibs-b911168351033cde8e3b524060722e0001c27bda.zip
Add pcre detection to tdelibs CMake files
This closes Bug 569
Diffstat (limited to 'kjs')
-rw-r--r--kjs/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/kjs/CMakeLists.txt b/kjs/CMakeLists.txt
index d668b6c08..ac6697cbd 100644
--- a/kjs/CMakeLists.txt
+++ b/kjs/CMakeLists.txt
@@ -15,10 +15,12 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/tdecore
+ ${LIBPCRE_INCLUDEDIR}
)
link_directories(
${TQT_LIBRARY_DIRS}
+ ${LIBPCRE_LIBDIR}
)
@@ -59,6 +61,6 @@ tde_add_lut( keywords.table lexer.lut.h lexer.cpp )
tde_add_library( ${target} SHARED
SOURCES ${${target}_SRCS}
VERSION 1.2.0
- LINK tdecore-shared
+ LINK tdecore-shared ${LIBPCRE_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)