Skip to content

Commit

Permalink
Fixed Cuda.cmake path
Browse files Browse the repository at this point in the history
Summary:
Fixed "cannot find cmake/Cuda.cmake" error when executing "make ops" command (the correct path is cmake/legacy/Cuda.cmake")
Closes facebookresearch#399

Reviewed By: rbgirshick

Differential Revision: D7790070

Pulled By: ir413

fbshipit-source-id: 6fc49b226be227dc8e9e638a9f4c39ef2efc22aa
  • Loading branch information
Juggernaut93 authored and facebook-github-bot committed Apr 27, 2018
1 parent 2941e77 commit 25d9e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cmake/legacy/Dependencies.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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
Expand Down

0 comments on commit 25d9e24

Please sign in to comment.