diff options
author | Michael Dickens <michael.dickens@ettus.com> | 2015-03-07 11:07:38 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-03-09 11:27:55 -0700 |
commit | 616ce1394604d209b88b6a2d245868b3a3216337 (patch) | |
tree | 49cacc72fc7dbf8a212dcf221cce85ffb51212de | |
parent | e067c45bdeb5ce7fcef8b96d23244f1c6f51c763 (diff) | |
download | uhd-616ce1394604d209b88b6a2d245868b3a3216337.tar.gz uhd-616ce1394604d209b88b6a2d245868b3a3216337.tar.bz2 uhd-616ce1394604d209b88b6a2d245868b3a3216337.zip |
cmake: for APPLE only, fix default values for CMAKE_INSTALL_NAME_DIR and CMAKE_INSTALL_RPATH.
-rw-r--r-- | host/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index e2937edd3..6c35377c2 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -99,12 +99,12 @@ ENDIF(ENABLE_STATIC_LIBS) IF(APPLE) IF(NOT CMAKE_INSTALL_NAME_DIR) SET(CMAKE_INSTALL_NAME_DIR - ${CMAKE_INSTALL_PREFIX}/${GR_LIBRARY_DIR} CACHE + ${CMAKE_INSTALL_PREFIX}/${LIBRARY_DIR} CACHE PATH "Library Install Name Destination Directory" FORCE) ENDIF(NOT CMAKE_INSTALL_NAME_DIR) IF(NOT CMAKE_INSTALL_RPATH) SET(CMAKE_INSTALL_RPATH - ${CMAKE_INSTALL_PREFIX}/${GR_LIBRARY_DIR} CACHE + ${CMAKE_INSTALL_PREFIX}/${LIBRARY_DIR} CACHE PATH "Library Install RPath" FORCE) ENDIF(NOT CMAKE_INSTALL_RPATH) IF(NOT CMAKE_BUILD_WITH_INSTALL_RPATH) |