From 5b71abecf23e371769ab2579bdc05fe901405936 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 24 Oct 2020 11:14:10 +0200 Subject: [PATCH] Configure fs-compat.hpp. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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})