fix(cmake): Specify configure_file dest

This commit is contained in:
Michael Carlberg 2017-01-26 20:33:13 +01:00
parent 874e6b0d6c
commit 76c657db70
2 changed files with 4 additions and 4 deletions

View File

@ -80,8 +80,8 @@ endif()
# Configure and install {{{
configure_file(
${PROJECT_SOURCE_DIR}/doc/config.cmake
${CMAKE_SOURCE_DIR}/doc/config
${CMAKE_CURRENT_LIST_DIR}/doc/config.cmake
${CMAKE_CURRENT_LIST_DIR}/doc/config
ESCAPE_QUOTES @ONLY)
install(FILES config

View File

@ -30,8 +30,8 @@ execute_process(COMMAND git describe --tags --dirty=-git
OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
configure_file(
settings.hpp.cmake
settings.hpp
${CMAKE_CURRENT_LIST_DIR}/settings.hpp.cmake
${CMAKE_CURRENT_LIST_DIR}/settings.hpp
ESCAPE_QUOTES @ONLY)
set(libs ${libs} PARENT_SCOPE)