summaryrefslogtreecommitdiff
path: root/src/cmake/showoptions.cmake
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2016-08-11 17:05:52 +0200
committerYehonal <yehonal.azeroth@gmail.com>2016-08-11 20:09:10 +0200
commit4330b759b7c240998b56db3f13a91cf305ac6ad7 (patch)
treed74dfa968c81f02fb6c08a90cfa107e43765c316 /src/cmake/showoptions.cmake
parent34d4accb5b5204774baba38e39d6405d716e1568 (diff)
always set cmake $CONF_DIR and add in preprocessor defines
Diffstat (limited to 'src/cmake/showoptions.cmake')
-rw-r--r--src/cmake/showoptions.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmake/showoptions.cmake b/src/cmake/showoptions.cmake
index f1cbc263c5..0b935bd6c1 100644
--- a/src/cmake/showoptions.cmake
+++ b/src/cmake/showoptions.cmake
@@ -11,8 +11,11 @@ message("")
message("* Install core to : ${CMAKE_INSTALL_PREFIX}")
if( UNIX )
message("* Install libraries to : ${LIBSDIR}")
- message("* Install configs to : ${CONF_DIR}")
endif()
+
+message("* Install configs to : ${CONF_DIR}")
+add_definitions(-D_CONF_DIR="\\"${CONF_DIR}\\"")
+
message("")
# Show infomation about the options selected during configuration