always set cmake $CONF_DIR and add in preprocessor defines

This commit is contained in:
Yehonal
2016-08-11 17:05:52 +02:00
parent 34d4accb5b
commit 4330b759b7
5 changed files with 14 additions and 5 deletions
+4
View File
@@ -0,0 +1,4 @@
if( NOT CONF_DIR )
set(CONF_DIR ${CMAKE_INSTALL_PREFIX})
message(STATUS "Using installation path for configuration files")
endif()