Skip to content

Commit 5161777

Browse files
small change
1 parent acadfa3 commit 5161777

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/CMakeLists.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ if(DEFINED METIS_HINT)
1515
# This is used by the build script
1616
# to avoid putting metis and gklib in the global path
1717
target_include_directories(jet PRIVATE ${METIS_HINT}/include)
18+
set(METIS_LINK_HINT ${METIS_HINT}/lib)
1819
endif()
1920

2021
# find metis and GKlib using optional hint
2122
# did you know that find_library doesn't search the LD_LIBRARY_PATH?
22-
find_library(LIBMETIS metis HINTS ${METIS_HINT}/lib REQUIRED)
23+
find_library(LIBMETIS metis HINTS ${METIS_LINK_HINT} REQUIRED)
2324
if(LINK_GKLIB)
24-
find_library(LIBGKLIB GKlib HINTS ${METIS_HINT}/lib REQUIRED)
25+
find_library(LIBGKLIB GKlib HINTS ${METIS_LINK_HINT} REQUIRED)
2526
endif()
2627

2728
# link libjet (for downstream library consumers)

0 commit comments

Comments
 (0)