vcpkg/ports/giflib/vcpkg-cmake-wrapper.cmake
Stefano Sinigardi 772fe6cbce
[giflib] use a vcpkg wrapper for cmake to circumvent bad cmake integrated module (#22141)
* [giflib] create wrapper to circumvent cmake module problems with giflib v5

* [giflib] fix references

* [giflib] remove unnecessary REQUIRED tags

* [giflib] fix references

* reduce wrapper to the minimum

* fix references
2021-12-22 22:55:57 -05:00

4 lines
155 B
CMake

find_path(GIF_INCLUDE_DIR gif_lib.h PATH_SUFFIXES include PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" NO_DEFAULT_PATH)
_find_package(${ARGS})