From bebe865fcb9da07d5dee4ab55c622ba48df9390f Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sun, 14 Mar 2010 17:46:33 +0000 Subject: -unbreak: when using HINTS, NO_DEFAULT_PATHS etc. should not be used anymore... Alex svn path=/trunk/KDE/kdelibs/; revision=1103254 --- modules/FindPhonon.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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}) -- cgit v1.2.1