diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-17 17:20:11 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-17 17:20:11 -0700 |
commit | 6c8260dcb5c73aaef38b7473acc9a332a93c5fa5 (patch) | |
tree | 591d0bd3a8d37120a240153881980adf65b84658 /host/lib/CMakeLists.txt | |
parent | fa7cf1f297dc6a6d04b550f9a6211caeb0a87074 (diff) | |
parent | 7d110e73e6b0651f73e8e5b165244f59e66fed87 (diff) | |
download | uhd-6c8260dcb5c73aaef38b7473acc9a332a93c5fa5.tar.gz uhd-6c8260dcb5c73aaef38b7473acc9a332a93c5fa5.tar.bz2 uhd-6c8260dcb5c73aaef38b7473acc9a332a93c5fa5.zip |
Merge branch 'next' into usrp1
Diffstat (limited to 'host/lib/CMakeLists.txt')
-rw-r--r-- | host/lib/CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index b117b99ce..cbb68c725 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -53,8 +53,14 @@ INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/utils/CMakeLists.txt) ######################################################################## # Append to the list of sources for lib uhd ######################################################################## -FILE(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX}/${PKG_DATA_DIR} FULL_PKG_DATA_DIR) -MESSAGE(STATUS "Full package data directory: ${FULL_PKG_DATA_DIR}") +FILE(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX}/${PKG_DATA_DIR} LOCAL_PKG_DATA_DIR) +MESSAGE(STATUS "Local package data directory: ${LOCAL_PKG_DATA_DIR}") + +IF(UNIX) + #on unix systems, installers will use this directory for the package data + FILE(TO_NATIVE_PATH /usr/${PKG_DATA_DIR} INSTALLER_PKG_DATA_DIR) + MESSAGE(STATUS "Installer package data directory: ${INSTALLER_PKG_DATA_DIR}") +ENDIF(UNIX) CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/constants.hpp.in |