Skip to content

Commit

Permalink
amps: use HEADER_FILES variable in install step
Browse files Browse the repository at this point in the history
  • Loading branch information
jjokella committed Nov 23, 2023
1 parent 0ce06f9 commit d67aa13
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions pfsimulator/amps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,8 @@ string(REGEX REPLACE "([^;]+)" "${PARFLOW_AMPS_LAYER}/\\1" AMPS_SCRIPTS "${AMPS_
install(FILES ${AMPS_SCRIPTS} DESTINATION bin)

# Install headers
install(FILES common/amps_common.h
${PARFLOW_AMPS_LAYER}/amps.h
${PARFLOW_AMPS_LAYER}/amps_proto.h
install(FILES ${HEADER_FILES}
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)

0 comments on commit d67aa13

Please sign in to comment.