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

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)