Skip to content

Commit c9630b3

Browse files
authored
Merge pull request #700 from cb-geo/hotfix/kahip-cmake
🔨 Fix libkahip location in cmake
2 parents 70da0c5 + 52533be commit c9630b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/FindKaHIP.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ if (MPI_CXX_FOUND)
4646
DOC "Directory where the KaHIP header files are located"
4747
)
4848

49-
find_library(KAHIP_LIBRARY kahip
49+
find_library(KAHIP_LIBRARY libkahip.a
5050
HINTS ${KAHIP_ROOT}/deploy $ENV{KAHIP_ROOT}/deploy /usr/local/KaHIP/deploy
5151
NO_DEFAULT_PATH
5252
DOC "Directory where the KaHIP library is located"
53-
)
54-
53+
)
54+
5555
find_library(KAHIP_LIBRARY kahip
5656
DOC "Directory where the KaHIP library is located"
5757
)

0 commit comments

Comments
 (0)