aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-19 17:15:30 -0700
committerJosh Blum <josh@joshknows.com>2010-08-19 17:15:30 -0700
commita32c3217cb703430f417cf5a3b816f6fd0f70ed3 (patch)
treeb50b370c4ce9a50c1218e1f5b2ff773840fb2d2f /host/lib/CMakeLists.txt
parent0f2bf7bf709f417e0ef5a0860e18b190f740fd1b (diff)
parentd99e22971975e9b5bfb966741684963be8f049f6 (diff)
downloaduhd-a32c3217cb703430f417cf5a3b816f6fd0f70ed3.tar.gz
uhd-a32c3217cb703430f417cf5a3b816f6fd0f70ed3.tar.bz2
uhd-a32c3217cb703430f417cf5a3b816f6fd0f70ed3.zip
Merge branch 'master' into usrp1
Diffstat (limited to 'host/lib/CMakeLists.txt')
-rw-r--r--host/lib/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt
index cbb68c725..81845de21 100644
--- a/host/lib/CMakeLists.txt
+++ b/host/lib/CMakeLists.txt
@@ -54,11 +54,13 @@ 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} LOCAL_PKG_DATA_DIR)
+STRING(REPLACE "\\" "\\\\" LOCAL_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)
+ STRING(REPLACE "\\" "\\\\" INSTALLER_PKG_DATA_DIR ${INSTALLER_PKG_DATA_DIR})
MESSAGE(STATUS "Installer package data directory: ${INSTALLER_PKG_DATA_DIR}")
ENDIF(UNIX)