mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
a44d019a38
* [gflags] Make find_package more regular * [gflags] portfile cleanup * [gflags] Fix pkgconfig * Versions * [gflags] Add license * [gflags] Legacy quirks
6 lines
173 B
Plaintext
6 lines
173 B
Plaintext
gflags provides CMake targets:
|
|
|
|
set(GFLAGS_USE_TARGET_NAMESPACE ON)
|
|
find_package(gflags CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE gflags::gflags)
|