You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
option(WITH_GPU "Compile Source Code with NVIDIA GPU"${CUDA_FOUND})
as it assigns the value of ${CUDA_FOUND}, which could be TRUE or FALSE, to ${WITH_GPU}, which should be either ON or OFF.
This causes a bug on my macOS with CMake 3.11 that even if CMake found CUDA and set CUDA_FOUND to be TRUE, WITH_GPU will be OFF, because CMake doesn't think TRUE as ON.
The text was updated successfully, but these errors were encountered:
The following line has a bug
bazel.cmake/cmake/bazel.cmake
Lines 25 to 29 in b2d0260
as it assigns the value of ${CUDA_FOUND}, which could be
TRUE
orFALSE
, to ${WITH_GPU}, which should be eitherON
orOFF
.This causes a bug on my macOS with CMake 3.11 that even if CMake found CUDA and set CUDA_FOUND to be TRUE, WITH_GPU will be OFF, because CMake doesn't think TRUE as ON.
The text was updated successfully, but these errors were encountered: