Skip to content

Commit

Permalink
Merge pull request #1714 from NCAR/ejh_fix_cmake_2
Browse files Browse the repository at this point in the history
fixed creation of config.h on read-only filesystem
  • Loading branch information
edwardhartnett authored Aug 10, 2020
2 parents 116cd6e + b985532 commit a9ed7f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

0 comments on commit a9ed7f1

Please sign in to comment.