Only configure @VARIABLES@ in version.hpp.in.

This commit is contained in:
tastytea 2019-12-29 10:32:16 +01:00
parent dcc07fab75
commit fec7ac92da
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -22,9 +22,8 @@ if(NOT ${restclient-cpp_FOUND})
endif()
# Write version in header.
configure_file (
"${PROJECT_SOURCE_DIR}/src/version.hpp.in"
"${PROJECT_BINARY_DIR}/version.hpp")
configure_file ("${PROJECT_SOURCE_DIR}/src/version.hpp.in"
"${PROJECT_BINARY_DIR}/version.hpp" @ONLY)
include_directories("${PROJECT_BINARY_DIR}")