From 0ce06f95136b4e6615c7331eb2e8c60fb12e9db6 Mon Sep 17 00:00:00 2001 From: Johannes Keller Date: Thu, 23 Nov 2023 13:05:41 +0100 Subject: [PATCH] amps: If `oas3`, move `oas3_*.h` header files to install directory --- pfsimulator/amps/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pfsimulator/amps/CMakeLists.txt b/pfsimulator/amps/CMakeLists.txt index d29db3076..f78401c3e 100644 --- a/pfsimulator/amps/CMakeLists.txt +++ b/pfsimulator/amps/CMakeLists.txt @@ -57,6 +57,12 @@ install(FILES common/amps_common.h ${PARFLOW_AMPS_LAYER}/amps.h ${PARFLOW_AMPS_LAYER}/amps_proto.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/parflow) +if(${PARFLOW_HAVE_OAS3}) + install(FILES common/amps_common.h + ${PARFLOW_AMPS_LAYER}/oas3_coupler.h + ${PARFLOW_AMPS_LAYER}/oas3_external.h + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/parflow) +endif(${PARFLOW_HAVE_OAS3}) add_subdirectory (test/src)