2020-11-19 05:55:25 +08:00
|
|
|
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
|
|
|
|
2023-03-28 02:33:29 +08:00
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/blas")
|
|
|
|
|
2020-11-19 05:55:25 +08:00
|
|
|
# Make sure BLAS can be found
|
2023-03-28 02:33:29 +08:00
|
|
|
vcpkg_list(SET CMAKE_IGNORE_PATH)
|
|
|
|
if(NOT DEFINED ENV{MKLROOT})
|
|
|
|
list(APPEND CMAKE_IGNORE_PATH "${CURRENT_INSTALLED_DIR}/lib/intel64")
|
|
|
|
endif()
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${CURRENT_PORT_DIR}"
|
|
|
|
OPTIONS
|
|
|
|
"-DCMAKE_PREFIX_PATH=${CURRENT_PACKAGES_DIR}"
|
|
|
|
"-DCMAKE_IGNORE_PATH=${CMAKE_IGNORE_PATH}"
|
|
|
|
)
|