summaryrefslogtreecommitdiffstats
path: root/kjs
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-08 03:07:46 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-02 19:05:09 +0200
commitc0dbbd249a685246475870fac20629c7d3f4b93c (patch)
treed40d0e636f207e718213f8b2659aefdf1bf6cbea /kjs
parent2d1297daca2df5b7608daf02d7d8c72e6e1785b1 (diff)
downloadtdelibs-c0dbbd249a685246475870fac20629c7d3f4b93c.tar.gz
tdelibs-c0dbbd249a685246475870fac20629c7d3f4b93c.zip
Add pcre detection to tdelibs CMake files
This closes Bug 569 (cherry picked from commit b911168351033cde8e3b524060722e0001c27bda)
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 953953684..73dbec835 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}/kdecore
+ ${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 kdecore-shared
+ LINK kdecore-shared ${LIBPCRE_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)