mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 02:09:01 +08:00
6 lines
165 B
CMake
6 lines
165 B
CMake
|
list(FIND ARGS "COMPONENTS" COMPONENTS_IDX)
|
||
|
if(NOT COMPONENTS_IDX EQUAL -1)
|
||
|
_find_package(${ARGS} COMPONENTS data)
|
||
|
else()
|
||
|
_find_package(${ARGS})
|
||
|
endif()
|