Fix config-files installation with CMake 2.4

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1934 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Peter Lemenkov 16 years ago
parent eec4c5c2d5
commit 856e262864

@ -1,6 +1,6 @@
FOREACH (config_file ${sems_module_name} ${sems_config_files})
# Check whether we providing a template for this config
FIND_PATH(SEMS_${sems_module_name}_CONFIG_${config_file}_TEMPLATE ${config_file}.conf.cmake PATHS ./etc)
FIND_PATH(SEMS_${sems_module_name}_CONFIG_${config_file}_TEMPLATE ${config_file}.conf.cmake PATHS ${CMAKE_CURRENT_SOURCE_DIR}/etc)
IF (SEMS_${sems_module_name}_CONFIG_${config_file}_TEMPLATE)
# If we do provide a template, then process it and create real

Loading…
Cancel
Save