From 856e2628643abca6b62c692903d97954596b6eed Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Wed, 2 Jun 2010 08:50:39 +0000 Subject: [PATCH] Fix config-files installation with CMake 2.4 Signed-off-by: Peter Lemenkov git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1934 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- cmake/config.rules.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/config.rules.txt b/cmake/config.rules.txt index 1bc81d86..a04a4d59 100644 --- a/cmake/config.rules.txt +++ b/cmake/config.rules.txt @@ -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