Commit c6c72632 authored by Dave Moxey's avatar Dave Moxey
Browse files

Missing Scotch link

parent 19076e5d
......@@ -341,13 +341,6 @@ ADD_DEPENDENCIES(LibUtilities modmetis-5.1.0 boost tinyxml-2.6.2 zlib-1.2.7)
### Libraries needed specifically by LibUtilities ###
### Static libraries do not need to be linked by
# Scotch
IF( NEKTAR_USE_SCOTCH )
TARGET_LINK_LIBRARIES(LibUtilities LINK_PRIVATE
${SCOTCH_LIBRARY} ${SCOTCHERR_LIBRARY})
ADD_DEPENDENCIES(LibUtilities scotch-6.0.0)
ENDIF ()
# Metis
TARGET_LINK_LIBRARIES(LibUtilities LINK_PRIVATE ${METIS_LIB})
......
......@@ -72,5 +72,11 @@ ADD_DEPENDENCIES(SpatialDomains modmetis-5.1.0)
# Metis
TARGET_LINK_LIBRARIES(SpatialDomains LINK_PRIVATE ${METIS_LIB})
IF( NEKTAR_USE_SCOTCH )
TARGET_LINK_LIBRARIES(SpatialDomains LINK_PRIVATE
${SCOTCH_LIBRARY} ${SCOTCHERR_LIBRARY})
ADD_DEPENDENCIES(SpatialDomains scotch-6.0.0)
ENDIF ()
INSTALL(DIRECTORY ./ DESTINATION ${NEKTAR_INCLUDE_DIR}/SpatialDomains
COMPONENT dev FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment