diff --git a/CMakeLists.txt b/CMakeLists.txt index bd3a0fc..cf2d5a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 or . -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})