File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,14 @@ if(DEFINED METIS_HINT)
15
15
# This is used by the build script
16
16
# to avoid putting metis and gklib in the global path
17
17
target_include_directories (jet PRIVATE ${METIS_HINT} /include )
18
+ set (METIS_LINK_HINT ${METIS_HINT} /lib )
18
19
endif ()
19
20
20
21
# find metis and GKlib using optional hint
21
22
# 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 )
23
24
if (LINK_GKLIB )
24
- find_library (LIBGKLIB GKlib HINTS ${METIS_HINT} /lib REQUIRED )
25
+ find_library (LIBGKLIB GKlib HINTS ${METIS_LINK_HINT} REQUIRED )
25
26
endif ()
26
27
27
28
# link libjet (for downstream library consumers)
You can’t perform that action at this time.
0 commit comments