From 5fe0e3646ef9a16fa498f72ea880ccc9675ba194 Mon Sep 17 00:00:00 2001 From: david-cortes Date: Wed, 18 Sep 2024 18:53:47 +0200 Subject: [PATCH] specify temporary directory just in case --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e07abf..13482c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -392,7 +392,7 @@ endif() target_link_libraries(cmfrec PUBLIC ${union_list}) # Public header with the data types substituted according to what was built -configure_file(${PROJECT_SOURCE_DIR}/include/cmfrec.h.in cmfrec.h @ONLY) +configure_file(${PROJECT_SOURCE_DIR}/include/cmfrec.h.in ${CMAKE_BINARY_DIR}/cmfrec.h @ONLY) set_target_properties(cmfrec PROPERTIES PUBLIC_HEADER ${CMAKE_BINARY_DIR}/cmfrec.h SOVERSION 3 VERSION ${PROJECT_VERSION}) # Install target