vcpkg/ports/bgfx/vcpkg-inject-packages.cmake
Sandy d1366382d3
[bgfx] Update to v1.118.8398-400 (#28702)
Remove vendored copies of 3rdparty bimg dependencies.
No more installed 3rdparty static libraries from bimg.
Add `BGFX_CMAKE_USER_SCRIPT` as entry point to change functionality of
bgfx.cmake config without the need for patches.
Insert miniz, tinyexr and libsquish from vcpkg repo into config.
Remove vcpkg's nvtt because bgfx's is completely different.

Co-authored-by: Jonliu1993 <13720414433@163.com>
2023-01-19 17:59:05 -08:00

9 lines
268 B
CMake

find_package(miniz CONFIG REQUIRED)
set(MINIZ_LIBRARIES miniz::miniz)
find_package(unofficial-libsquish CONFIG REQUIRED)
set(LIBSQUISH_LIBRARIES unofficial::libsquish::squish)
find_package(tinyexr CONFIG REQUIRED)
set(TINYEXR_LIBRARIES unofficial::tinyexr::tinyexr)