Skip to content
Snippets Groups Projects
Commit e850ec25 authored by Tom Fischer's avatar Tom Fischer
Browse files

[GL/IO/CMake] linking with netcdf library

parent dc453782
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,18 @@ target_link_libraries(
PRIVATE range-v3 tet
)
if(OGS_USE_NETCDF)
target_link_libraries(
GeoLib
PUBLIC ${NETCDF_LIBRARIES_CXX} ${NETCDF_LIBRARIES_C}
)
if(NOT OGS_USE_CONAN)
target_include_directories(
GeoLib SYSTEM PUBLIC ${NETCDF_INCLUDES_C} ${NETCDF_INCLUDES_CXX}
)
endif()
endif()
foreach(xsd OpenGeoSysGLI.xsd OpenGeoSysSTN.xsd)
# cmake-lint: disable=E1126
file(COPY_FILE IO/XmlIO/${xsd} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${xsd}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment