mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 18:09:31 +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()
|