Commit 25d9e240 authored by Gioele Ciaparrone's avatar Gioele Ciaparrone Committed by Facebook Github Bot

Fixed Cuda.cmake path

Summary:
Fixed "cannot find cmake/Cuda.cmake" error when executing "make ops" command (the correct path is cmake/legacy/Cuda.cmake")
Closes https://github.com/facebookresearch/Detectron/pull/399

Reviewed By: rbgirshick

Differential Revision: D7790070

Pulled By: ir413

fbshipit-source-id: 6fc49b226be227dc8e9e638a9f4c39ef2efc22aa
parent 2941e77a
# Adapted from https://github.com/caffe2/caffe2/blob/master/cmake/Dependencies.cmake
# Find CUDA.
include(cmake/Cuda.cmake)
include(cmake/legacy/Cuda.cmake)
if (HAVE_CUDA)
# CUDA 9.x requires GCC version <= 6
if ((CUDA_VERSION VERSION_EQUAL 9.0) OR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment