1
0
Fork 0

move configuring of cmake back into install process - it will conflict with the release process otherwise

This commit is contained in:
Wilfried Goesgens 2017-04-25 18:13:40 +02:00
parent c11857df09
commit 47be062957
1 changed files with 2 additions and 1 deletions

View File

@ -74,8 +74,9 @@ macro (install_readme input output)
if (MSVC)
set(CRLFSTYLE "CRLF")
endif ()
configure_file(${PROJECT_SOURCE_DIR}/${input} "${PROJECT_BINARY_DIR}/${output}" NEWLINE_STYLE ${CRLFSTYLE})
install(
CODE "configure_file(${PROJECT_SOURCE_DIR}/${input} \"${PROJECT_BINARY_DIR}/${output}\" NEWLINE_STYLE ${CRLFSTYLE})"
FILES "${PROJECT_BINARY_DIR}/${output}"
DESTINATION "${where}"
)