vcpkg/ports/gflags/vcpkg-cmake-wrapper.cmake
Kai Pastor a44d019a38
[gflags] Cleanup, fix usage (#35188)
* [gflags] Make find_package more regular

* [gflags] portfile cleanup

* [gflags] Fix pkgconfig

* Versions

* [gflags] Add license

* [gflags] Legacy quirks
2023-11-21 18:51:28 -08:00

8 lines
207 B
CMake

if(NOT DEFINED GFLAGS_USE_TARGET_NAMESPACE)
# vcpkg legacy
set(GFLAGS_USE_TARGET_NAMESPACE ON)
_find_package(${ARGS})
unset(GFLAGS_USE_TARGET_NAMESPACE)
endif()
_find_package(${ARGS})