LIVE / thrust /cmake /ThrustAddSubdir.cmake
Xu Ma
update
1c3c0d9
raw
history blame
225 Bytes
find_package(Thrust REQUIRED CONFIG
NO_DEFAULT_PATH # Only check the explicit path in HINTS:
HINTS "${CMAKE_CURRENT_LIST_DIR}/.."
COMPONENTS ${THRUST_REQUIRED_SYSTEMS}
OPTIONAL_COMPONENTS ${THRUST_OPTIONAL_SYSTEMS}
)