X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=cmake%2Fcmake.d%2F02-macros.cmake;h=74442140f3bd0a45d9c7b0b2a5880abc441ef09a;hb=e475d27e5f67d0efa61f91d3aa971c23226fc318;hp=a04b915630345cbc543827934f6f0be1115e3dce;hpb=b9f1f36e653dd2e5a660421b235d8c5be1c34963;p=staging%2Fxdg-launcher.git diff --git a/cmake/cmake.d/02-macros.cmake b/cmake/cmake.d/02-macros.cmake index a04b915..7444214 100644 --- a/cmake/cmake.d/02-macros.cmake +++ b/cmake/cmake.d/02-macros.cmake @@ -20,7 +20,7 @@ #-------------------------------------------------------------------------- # 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 # ----------------------- @@ -42,6 +42,7 @@ macro(configure_files_in_dir dir) 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) @@ -274,4 +275,4 @@ macro(project_closing_msg) add_dependencies(${PROJECT_NAME}_build_done ${DEPENDENCIES_TARGET} ${PROJECT_TARGETS}) endif() -endmacro() \ No newline at end of file +endmacro()