LIVE / thrust /cmake /ThrustRunTest.cmake
Xu Ma
update
1c3c0d9
raw
history blame
No virus
189 Bytes
execute_process(
COMMAND "${THRUST_BINARY}"
RESULT_VARIABLE EXIT_CODE
)
if (NOT "0" STREQUAL "${EXIT_CODE}")
message(FATAL_ERROR "${THRUST_BINARY} failed (${EXIT_CODE})")
endif ()