Project

General

Profile

0001-Enhance-FindPhonon.patch

admin, 12/20/2008 04:29 PM

View differences:

cmake/modules/FindPhonon.cmake
27 27
   endif(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
28 28

  
29 29
   # As discussed on kde-buildsystem: first look at CMAKE_PREFIX_PATH, then at the suggested PATHS (kde4 install dir)
30
   find_library(PHONON_LIBRARY NAMES phonon PATHS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR} NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
30
   find_library(PHONON_LIBRARY NAMES phonon phonon4 phonon_debug phonond4 PATHS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR} NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
31 31
   # then at the default system locations (CMAKE_SYSTEM_PREFIX_PATH, i.e. /usr etc.)
32
   find_library(PHONON_LIBRARY NAMES phonon)
32
   find_library(PHONON_LIBRARY NAMES phonon phonon4 phonon_debug phonond4)
33 33

  
34 34
   find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h PATHS ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
35 35
   find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h)
36
-