Skip to content

Commit

Permalink
use HINTS instead of PATHS (#1705)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhthuc2502 authored Jun 6, 2024
1 parent 5eb5d5a commit 13dc5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ if(WITH_MKL)
endif()

# Find MKL libraries.
find_library(MKL_CORE_LIBRARY NAMES mkl_core PATHS ${MKL_ROOT}/lib ${MKL_ROOT}/lib/intel64)
find_library(MKL_CORE_LIBRARY NAMES mkl_core HINTS ${MKL_ROOT}/lib ${MKL_ROOT}/lib/intel64)
if(MKL_CORE_LIBRARY)
get_filename_component(MKL_LIBRARY_DIR ${MKL_CORE_LIBRARY} DIRECTORY)
message(STATUS "Found MKL library directory: ${MKL_LIBRARY_DIR}")
Expand Down

0 comments on commit 13dc5d8

Please sign in to comment.