mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 23:19:04 +08:00
a44d019a38
* [gflags] Make find_package more regular * [gflags] portfile cleanup * [gflags] Fix pkgconfig * Versions * [gflags] Add license * [gflags] Legacy quirks
8 lines
207 B
CMake
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})
|