2020-08-07 13:10:15 +08:00
|
|
|
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
|
|
|
# Make sure LAPACK can be found
|
2020-08-13 01:28:41 +08:00
|
|
|
|
|
|
|
if(VCPKG_TARGET_IS_UWP OR VCPKG_TARGET_IS_WINDOWS AND VCPKG_TARGET_ARCHITECTURE MATCHES "arm")
|
|
|
|
# Install clapack wrappers.
|
|
|
|
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/clapack/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share//${PORT})
|
|
|
|
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/clapack/FindLAPACK.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share//${PORT})
|
|
|
|
endif()
|
|
|
|
vcpkg_configure_cmake(SOURCE_PATH ${CURRENT_PORT_DIR}
|
|
|
|
OPTIONS -DCMAKE_PREFIX_PATH="${CURRENT_PACKAGES_DIR}")
|