diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-03-01 20:08:10 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-03-01 20:08:10 +0000 |
commit | cbbd8b92d40297ed286a965c9b53f8013555dd15 (patch) | |
tree | d1a90540d59e711059ae3dc4f245f2e7c9f76e3d /modules | |
parent | 6720cb6b1131c507512cc9219905c54ce3de1f80 (diff) | |
download | extra-cmake-modules-cbbd8b92d40297ed286a965c9b53f8013555dd15.tar.gz extra-cmake-modules-cbbd8b92d40297ed286a965c9b53f8013555dd15.tar.bz2 |
-changes in preparation of the renaming to FindKDE4Internal.cmake
Alex
svn path=/trunk/KDE/kdelibs/; revision=514887
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindKDE4.cmake | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/modules/FindKDE4.cmake b/modules/FindKDE4.cmake index 7af6485a..55bfdb74 100644 --- a/modules/FindKDE4.cmake +++ b/modules/FindKDE4.cmake @@ -217,6 +217,12 @@ if (WIN32) endif (WIN32) +# also use /usr/local by default under UNIX, including Mac OS X +if (UNIX) + link_directories(/usr/local/lib) + include_directories(/usr/local/include) +endif (UNIX) + # only on linux, but NOT e.g. on FreeBSD: if (CMAKE_SYSTEM_NAME MATCHES Linux) @@ -334,16 +340,16 @@ MACRO (KDE4_PRINT_RESULTS) ENDMACRO (KDE4_PRINT_RESULTS) -if (KDE4_FIND_REQUIRED AND NOT KDE4_FOUND) +if (KDE4Internal_FIND_REQUIRED AND NOT KDE4_FOUND) #bail out if something wasn't found KDE4_PRINT_RESULTS() message(FATAL_ERROR "Could NOT find everything required for compiling KDE 4 programs") -endif (KDE4_FIND_REQUIRED AND NOT KDE4_FOUND) +endif (KDE4Internal_FIND_REQUIRED AND NOT KDE4_FOUND) -if (NOT KDE4_FIND_QUIETLY) +if (NOT KDE4Internal_FIND_QUIETLY) KDE4_PRINT_RESULTS() -endif (NOT KDE4_FIND_QUIETLY) +endif (NOT KDE4Internal_FIND_QUIETLY) #add the found Qt and KDE include directories to the current include path set(KDE4_INCLUDE_DIRS ${QT_INCLUDES} ${KDE4_INCLUDE_DIR} ${_KDE4_PLATFORM_INCLUDE_DIRS} ) |