Configure fs-compat.hpp.

This commit is contained in:
tastytea 2020-10-24 11:14:10 +02:00
parent 83dbd5b6f4
commit 5b71abecf2
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 3 deletions

View File

@ -29,11 +29,11 @@ include_directories(${PROJECT_BINARY_DIR})
# Write version in header
configure_file(
"${PROJECT_SOURCE_DIR}/src/version.hpp.in"
"${PROJECT_BINARY_DIR}/version.hpp")
"src/version.hpp.in"
"version.hpp")
# Include <filesystem> or <experimental/filesystem>.
configure_file(fs-compat.hpp.in fs-compat.hpp @ONLY)
configure_file("src/fs-compat.hpp.in" "fs-compat.hpp" @ONLY)
file(GLOB sources src/*.cpp)
add_executable(${PROJECT_NAME} ${sources})