mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 10:31:38 +08:00
10 lines
253 B
CMake
10 lines
253 B
CMake
set(GFLAGS_USE_TARGET_NAMESPACE ON)
|
|
|
|
_find_package(${ARGS})
|
|
|
|
foreach(tgt gflags gflags_shared gflags_static)
|
|
if (NOT TARGET ${tgt} AND TARGET "gflags::${tgt}")
|
|
add_library(${tgt} ALIAS "gflags::${tgt}")
|
|
endif()
|
|
endforeach(tgt)
|