We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce13ca2 commit fed44cbCopy full SHA for fed44cb
aten/CMakeLists.txt
@@ -4,6 +4,7 @@ if (CAFFE2_CMAKE_BUILDING_WITH_MAIN_REPO)
4
endif()
5
else()
6
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
7
+ project(ATen CXX C)
8
include(CMakeDependentOption)
9
option(USE_CUDA "Use CUDA" ON)
10
option(USE_ROCM "Use ROCm" OFF)
@@ -18,9 +19,6 @@ else()
18
19
set(BUILD_ATEN ON)
20
21
-# Create the project in all cases
22
-project(ATen CXX C)
23
-
24
# Find modules
25
list(APPEND CMAKE_MODULE_PATH
26
/usr/lib/x86_64-linux-gnu/
0 commit comments