Skip to content

Commit

Permalink
fix library collection for SCOTCH CMake module
Browse files Browse the repository at this point in the history
  • Loading branch information
gentryx committed Dec 19, 2016
1 parent 00e660d commit 1d038d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeModules/FindSCOTCH.cmake
Expand Up @@ -186,7 +186,7 @@ int main() {

# For SCOTCH version > 6, need to add libraries scotch and ptscotch
if (NOT ${SCOTCH_VERSION} VERSION_LESS "6")
set(SCOTCH_LIBRARIES ${PTSCOTCH_LIBRARY} ${SCOTCH_LIBRARY} ${PTSCOTCHERR_LIBRARY})
set(SCOTCH_LIBRARIES ${SCOTCH_LIBRARIES} ${PTSCOTCH_LIBRARY} ${PTSCOTCHERR_LIBRARY})
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${SCOTCH_LIBRARY})
endif()

Expand Down

0 comments on commit 1d038d0

Please sign in to comment.