diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-15 12:18:35 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-15 12:18:35 -0700 |
commit | 7b084e3af206afa20ff5a026ebf5d7e49a755def (patch) | |
tree | 04f304cb096f30dbd965e69dc7c7efb804a93ccf /host/lib/CMakeLists.txt | |
parent | 98ba0cc067489d417342314a7e7408d2dbbc8250 (diff) | |
download | uhd-7b084e3af206afa20ff5a026ebf5d7e49a755def.tar.gz uhd-7b084e3af206afa20ff5a026ebf5d7e49a755def.tar.bz2 uhd-7b084e3af206afa20ff5a026ebf5d7e49a755def.zip |
uhd: use cmake to convert the pkg data dir to native system format
Diffstat (limited to 'host/lib/CMakeLists.txt')
-rw-r--r-- | host/lib/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index 48cfe742e..b117b99ce 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -53,6 +53,9 @@ 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}") + CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/constants.hpp.in ${CMAKE_CURRENT_BINARY_DIR}/constants.hpp |