aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2010-03-14 17:46:33 +0000
committerAlexander Neundorf <neundorf@kde.org>2010-03-14 17:46:33 +0000
commitbebe865fcb9da07d5dee4ab55c622ba48df9390f (patch)
tree0892033f1c001f92e7ea413ee22084f41fbe8e83
parentcda3fe9d15e15969114efc7393afb3af7c780f0c (diff)
downloadextra-cmake-modules-bebe865fcb9da07d5dee4ab55c622ba48df9390f.tar.gz
extra-cmake-modules-bebe865fcb9da07d5dee4ab55c622ba48df9390f.tar.bz2
-unbreak: when using HINTS, NO_DEFAULT_PATHS etc. should not be used anymore...
Alex svn path=/trunk/KDE/kdelibs/; revision=1103254
-rw-r--r--modules/FindPhonon.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindPhonon.cmake b/modules/FindPhonon.cmake
index 85953cca..cd9e5cb4 100644
--- a/modules/FindPhonon.cmake
+++ b/modules/FindPhonon.cmake
@@ -22,8 +22,8 @@ macro(_phonon_find_version)
endmacro(_phonon_find_version)
# the dirs listed with HINTS are searched before the default sets of dirs
-find_library(PHONON_LIBRARY NAMES phonon HINTS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR} NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
-find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h HINTS ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} ${QT_LIBRARY_DIR} NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
+find_library(PHONON_LIBRARY NAMES phonon HINTS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR})
+find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h HINTS ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} ${QT_LIBRARY_DIR})
if(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
set(PHONON_LIBS ${phonon_LIB_DEPENDS} ${PHONON_LIBRARY})