Only configure @VARIABLES@ in version.hpp.in.
This commit is contained in:
parent
dcc07fab75
commit
fec7ac92da
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user