From b9855320d6cc19b6833cbbe70f44733ed9b2a527 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Mon, 10 Aug 2020 12:26:55 -0600 Subject: [PATCH] fixed creation of config.h on read-only filesystem --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fdc0695f32..473e9933237 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -416,7 +416,5 @@ INSTALL(FILES "${PIO_BINARY_DIR}/libpio.settings" ##### configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/src/clib/pio_meta.h.in - ${CMAKE_CURRENT_SOURCE_DIR}/src/clib/pio_meta.h @ONLY) + ${CMAKE_CURRENT_BINARY_DIR}/src/clib/pio_meta.h @ONLY) -FILE(COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/clib/pio_meta.h - DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/src/clib/)