early-access version 2853
This commit is contained in:
11
externals/vcpkg/ports/brotli/vcpkg-cmake-wrapper.cmake
vendored
Executable file
11
externals/vcpkg/ports/brotli/vcpkg-cmake-wrapper.cmake
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
_find_package(${ARGS})
|
||||
foreach(T brotlicommon brotlidec brotlienc)
|
||||
if(TARGET unofficial::brotli::${T} AND NOT TARGET unofficial::brotli::${T}-static)
|
||||
_add_library(unofficial::brotli::${T}-static INTERFACE IMPORTED)
|
||||
set_target_properties(unofficial::brotli::${T}-static PROPERTIES INTERFACE_LINK_LIBRARIES "unofficial::brotli::${T}")
|
||||
endif()
|
||||
if(NOT TARGET unofficial::brotli::${T} AND TARGET unofficial::brotli::${T}-static)
|
||||
_add_library(unofficial::brotli::${T} INTERFACE IMPORTED)
|
||||
set_target_properties(unofficial::brotli::${T} PROPERTIES INTERFACE_LINK_LIBRARIES "unofficial::brotli::${T}-static")
|
||||
endif()
|
||||
endforeach()
|
||||
Reference in New Issue
Block a user