aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-10-29 14:34:00 +0000
committerAlexander Neundorf <neundorf@kde.org>2007-10-29 14:34:00 +0000
commit50506371468ac066b587a31848be2b1117ea058b (patch)
treeb3eda09d2540f92360c659630400f995cc0ea33e
parent2164a91f19ea2f9df6a3fa5ee38c89dca583bb9d (diff)
downloadextra-cmake-modules-50506371468ac066b587a31848be2b1117ea058b.tar.gz
extra-cmake-modules-50506371468ac066b587a31848be2b1117ea058b.tar.bz2
-don't hardcode the include/lib dirs /usr/local/lib and /usr/local/include for UNIX, they should be found by the various FIND_PACKAGE() calls
Alex svn path=/trunk/KDE/kdelibs/; revision=730766
-rw-r--r--modules/FindKDE4Internal.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index fdcf14f3..0acba2a8 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -675,8 +675,7 @@ endif (WIN32)
if (UNIX)
option(KDE4_USE_ALWAYS_FULL_RPATH "If set to TRUE, also libs and plugins will be linked with the full RPATH, which will usually make them work better, but make install will take longer." OFF)
- link_directories(/usr/local/lib)
- set( _KDE4_PLATFORM_INCLUDE_DIRS /usr/local/include )
+ set( _KDE4_PLATFORM_INCLUDE_DIRS)
# the rest is RPATH handling
# here the defaults are set