Skip to content
Permalink
Browse files
Add CMake variable for setting the configuration file path
  • Loading branch information
pp3345 committed Aug 1, 2015
1 parent 8d4cd47 commit 9d98932e21b53befe3adbbead63e94b786dcd872
Showing with 3 additions and 0 deletions.
  1. +2 −0 CMakeLists.txt
  2. +1 −0 config.h.in
@@ -127,6 +127,8 @@ foreach(FILE ${FILES})
endif()
endforeach()

set(PANCAKE_CONFIG_PATH "config/pancake.cfg" CACHE STRING "Pancake configuration path")

foreach(MODULE ${REQUIRED_MODULES})
message(STATUS "Checking for required module ${MODULE}")

@@ -7,4 +7,5 @@
#cmakedefine HAVE_FREELOCALE
#cmakedefine PANCAKE_DEBUG
#cmakedefine PANCAKE_NETWORK_TLS
#define PANCAKE_CONFIG_PATH "@PANCAKE_CONFIG_PATH@"
#define SIZEOF_LONG @SIZEOF_LONG@

0 comments on commit 9d98932

Please sign in to comment.