From 50506371468ac066b587a31848be2b1117ea058b Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 29 Oct 2007 14:34:00 +0000 Subject: -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 --- modules/FindKDE4Internal.cmake | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1