summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn2012-06-16 17:34:19 -0400
committerTom Rondeau2012-06-16 17:34:19 -0400
commit9b2855a4d868731a2d4a1eb03b12d5c930c5c6d0 (patch)
treeb9e6dd3cdd1df12cd374a48de894e3b7423d0fa9 /gnuradio-core/src/lib
parent97e91b821a7c515dcf7627c878031e0e8dfab38b (diff)
downloadgnuradio-9b2855a4d868731a2d4a1eb03b12d5c930c5c6d0.tar.gz
gnuradio-9b2855a4d868731a2d4a1eb03b12d5c930c5c6d0.tar.bz2
gnuradio-9b2855a4d868731a2d4a1eb03b12d5c930c5c6d0.zip
cmake: add support for SYSCONFDIR
Set with 'cmake -DSYSCONFDIR=target ...' This fixes http://gnuradio.org/redmine/issues/492
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r--gnuradio-core/src/lib/general/CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/gnuradio-core/src/lib/general/CMakeLists.txt b/gnuradio-core/src/lib/general/CMakeLists.txt
index 3492d5d6f..399e07599 100644
--- a/gnuradio-core/src/lib/general/CMakeLists.txt
+++ b/gnuradio-core/src/lib/general/CMakeLists.txt
@@ -48,9 +48,6 @@ message(STATUS "Loading build date ${BUILD_DATE} into gr_constants...")
message(STATUS "Loading version ${VERSION} into gr_constants...")
-file(TO_NATIVE_PATH "${CMAKE_INSTALL_PREFIX}/${GR_CONF_DIR}" SYSCONFDIR)
-file(TO_NATIVE_PATH "${CMAKE_INSTALL_PREFIX}/${GR_PKG_CONF_DIR}" GR_PREFSDIR)
-
#double escape for windows backslash path separators
string(REPLACE "\\" "\\\\" prefix ${prefix})
string(REPLACE "\\" "\\\\" SYSCONFDIR ${SYSCONFDIR})