#--------------------------------------------------------------------------
# WARNING:
# Do not change this cmake template
-# Customise your preferences in "./etc/config.cmake"
+# Customise your preferences in "./conf.d/cmake/config.cmake"
#--------------------------------------------------------------------------
# Generic useful macro
# -----------------------
foreach(file ${filelist})
get_filename_component(filename ${file} NAME)
string(REGEX REPLACE "target" "${RSYNC_TARGET}" destinationfile ${filename})
+ string(REGEX REPLACE ".in$" "" destinationfile ${destinationfile})
configure_file(${file} ${CMAKE_CURRENT_BINARY_DIR}/target/${destinationfile})
endforeach()
endmacro(configure_files_in_dir)
add_dependencies(${PROJECT_NAME}_build_done
${DEPENDENCIES_TARGET} ${PROJECT_TARGETS})
endif()
-endmacro()
\ No newline at end of file
+endmacro()