Skip to content

Commit f8f00fa

Browse files
committed
set require cxx 17 on, or there is error: 'optional': is not a member of 'std'
1 parent 7126aeb commit f8f00fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.0)
22
project(torchscatter)
33
set(CMAKE_CXX_STANDARD 17)
4-
set(CMAKE_CXX_STANDARD_REQUIRED)
4+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
55
set(TORCHSCATTER_VERSION 2.1.2)
66

77
option(WITH_CUDA "Enable CUDA support" OFF)

0 commit comments

Comments
 (0)