Rex Dieter c16f3ef
diff -up phonon-4.9.0/cmake/PhononQt4.cmake.rpath phonon-4.9.0/cmake/PhononQt4.cmake
Rex Dieter c16f3ef
--- phonon-4.9.0/cmake/PhononQt4.cmake.rpath	2016-04-21 13:00:50.788470084 -0500
Rex Dieter c16f3ef
+++ phonon-4.9.0/cmake/PhononQt4.cmake	2016-04-21 13:04:39.194600944 -0500
Rex Dieter c16f3ef
@@ -33,7 +33,6 @@
Rex Dieter 6e8727e
 # These two options below make it set the RPATH of the installed targets to all
Rex Dieter c16f3ef
 # RPATH directories outside the current CMAKE_BINARY_DIR and also the library
Rex Dieter 6e8727e
 # install directory. Alex
Rex Dieter 6e8727e
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH  TRUE)
Rex Dieter 6e8727e
 set(_abs_LIB_INSTALL_DIR "${LIB_INSTALL_DIR}")
Rex Dieter 6e8727e
 if (NOT IS_ABSOLUTE "${_abs_LIB_INSTALL_DIR}")
Rex Dieter 6e8727e
    set(_abs_LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}")
Rex Dieter c16f3ef
@@ -41,6 +40,7 @@ endif()
Rex Dieter 6e8727e
 list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${_abs_LIB_INSTALL_DIR}" _isSystemPlatformLibDir)
Rex Dieter 6e8727e
 list(FIND CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "${_abs_LIB_INSTALL_DIR}" _isSystemCxxLibDir)
Rex Dieter 6e8727e
 if("${_isSystemPlatformLibDir}" STREQUAL "-1" AND "${_isSystemCxxLibDir}" STREQUAL "-1")
Rex Dieter 6e8727e
+   set(CMAKE_INSTALL_RPATH_USE_LINK_PATH  TRUE)
Rex Dieter 6e8727e
    set(CMAKE_INSTALL_RPATH "${_abs_LIB_INSTALL_DIR}")
Rex Dieter 6e8727e
 endif("${_isSystemPlatformLibDir}" STREQUAL "-1" AND "${_isSystemCxxLibDir}" STREQUAL "-1")
Rex Dieter 6e8727e