mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 04:12:19 +08:00
1b0252ca70
* CI test isal, not spdk-isal * Update to 2.30.0 * The nmake build uses only nasm The autotools build chooses the tool by feature level. It even requires yasm for mingw. * Relax platform restriction * Fix mingw builds * Fixup pkgconfig * Rewrite CMake config, move to unofficial namespace * Update versions
16 lines
670 B
CMake
16 lines
670 B
CMake
message(WARNING "'find_package(isal CONFIG)' is deprecated. Please use 'find_package(unofficial-isal CONFIG)' instead.")
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(unofficial-isal)
|
|
if(NOT TARGET unofficial::isal::isal)
|
|
set(isal_FOUND FALSE)
|
|
elseif(TARGET ISAL::isa-l OR TARGET ISAL::isal)
|
|
# done
|
|
elseif ("@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static")
|
|
add_library(ISAL::isa-l INTERFACE IMPORTED)
|
|
set_target_properties(ISAL::isa-l PROPERTIES INTERFACE_LINK_LIBRARIES unofficial::isal::isal)
|
|
else()
|
|
add_library(ISAL::isal INTERFACE IMPORTED)
|
|
set_target_properties(ISAL::isal PROPERTIES INTERFACE_LINK_LIBRARIES unofficial::isal::isal)
|
|
endif()
|