Do not enable CUDA under mingw.
This commit is contained in:
parent
7b65595fe2
commit
82da6ea0a0
@ -50,10 +50,16 @@ ENDIF(CG_FOUND)
|
||||
# CUDA
|
||||
FIND_PACKAGE(CUDA)
|
||||
IF(CUDA_FOUND)
|
||||
SET(HAVE_CUDA ${CUDA_FOUND} CACHE BOOL "Set to TRUE if CUDA is found, FALSE otherwise")
|
||||
MESSAGE(STATUS "Looking for CUDA - found")
|
||||
IF(MINGW)
|
||||
MESSAGE(STATUS "Looking for CUDA - not supported on MinGW")
|
||||
UNSET(CUDA_FOUND)
|
||||
ENDIF(MINGW)
|
||||
IF(CUDA_FOUND)
|
||||
SET(HAVE_CUDA ${CUDA_FOUND} CACHE BOOL "Set to TRUE if CUDA is found, FALSE otherwise")
|
||||
MESSAGE(STATUS "Looking for CUDA - found")
|
||||
ENDIF(CUDA_FOUND)
|
||||
ELSE(CUDA_FOUND)
|
||||
MESSAGE(STATUS "Looking for CUDA - not found")
|
||||
MESSAGE(STATUS "Looking for CUDA - not found")
|
||||
ENDIF(CUDA_FOUND)
|
||||
|
||||
# Maya
|
||||
|
Loading…
Reference in New Issue
Block a user