Merge pull request #220 from cmdrf/cmakecuda

Fix CMake CUDA introspection
This commit is contained in:
Ignacio 2015-06-10 10:49:35 -07:00
commit 7aa0390f32

View File

@ -52,8 +52,7 @@ ENDIF(GLEW_FOUND)
#ENDIF(CG_FOUND)
# CUDA
#INCLUDE(${NV_CMAKE_DIR}/FindCUDA.cmake)
INCLUDE(CUDA)
FIND_PACKAGE(CUDA)
IF(CUDA_FOUND)
IF(MINGW)
MESSAGE(STATUS "Looking for CUDA - not supported on MinGW")