mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 06:23:51 +08:00
982a49ec9c
* [blas] Add wrapper to ignore intel-mkl * VCPKG_INSTALLED_DIR
10 lines
343 B
CMake
10 lines
343 B
CMake
if(NOT DEFINED ENV{MKLROOT})
|
|
set(z_vcpkg_blas_ignore_path "${CMAKE_IGNORE_PATH}")
|
|
list(APPEND CMAKE_IGNORE_PATH "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/intel64")
|
|
endif()
|
|
_find_package(${ARGS})
|
|
if(NOT DEFINED ENV{MKLROOT})
|
|
set(CMAKE_IGNORE_PATH "${z_vcpkg_blas_ignore_path}")
|
|
unset(z_vcpkg_blas_ignore_path)
|
|
endif()
|