Skip to content
Snippets Groups Projects
Commit 33268ad0 authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Install metis lib when BUILD_SHARED_LIBS=ON only.

parent 4128675b
No related branches found
No related tags found
No related merge requests found
......@@ -36,12 +36,14 @@ elseif(MSVC)
generate_export_header(metis)
endif()
install(TARGETS metis
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib
COMPONENT ogs_partmesh
)
if(BUILD_SHARED_LIBS)
install(TARGETS metis
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib
COMPONENT ogs_partmesh
)
endif()
## Compile mpmetis
add_definitions(-DSVNINFO="")
......
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