diff --git a/phonon-4.6.0-rootDir.patch b/phonon-4.6.0-rootDir.patch index 7bbeb14..1dc627c 100644 --- a/phonon-4.6.0-rootDir.patch +++ b/phonon-4.6.0-rootDir.patch @@ -6,7 +6,7 @@ diff -up phonon-4.6.0/PhononConfig.cmake.in.rootDir phonon-4.6.0/PhononConfig.cm get_filename_component(currentDir ${CMAKE_CURRENT_LIST_FILE} PATH) # get the directory where I myself am -get_filename_component(rootDir ${currentDir}/@relInstallDir@ ABSOLUTE) # get the chosen install prefix -+get_filename_component(rootDir ${CMAKE_INSTALL_PREFIX} ABSOLUTE) # get the chosen install prefix ++get_filename_component(rootDir @CMAKE_INSTALL_PREFIX@ ABSOLUTE) # get the chosen install prefix set(PHONON_PULSESUPPORT @PHONON_PULSESUPPORT@) set(PHONON_FOUND_EXPERIMENTAL @PHONON_BUILD_EXPERIMENTAL@)