forked from etc/pineapple-src
6 lines
161 B
CMake
6 lines
161 B
CMake
|
list(FIND ARGS "COMPONENTS" COMPONENTS_IDX)
|
||
|
if(COMPONENTS_IDX EQUAL -1)
|
||
|
_find_package(${ARGS} COMPONENTS data)
|
||
|
else()
|
||
|
_find_package(${ARGS})
|
||
|
endif()
|