diff options
| -rw-r--r-- | modules/FindPhonon.cmake | 4 | 
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}) | 
