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