Skip to content

Commit

Permalink
set require cxx 17 on, or there is error: 'optional': is not a member…
Browse files Browse the repository at this point in the history
… of 'std'
  • Loading branch information
guanshaoheng committed Jan 14, 2025
1 parent 7126aeb commit f8f00fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.0)
project(torchscatter)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(TORCHSCATTER_VERSION 2.1.2)

option(WITH_CUDA "Enable CUDA support" OFF)
Expand Down

0 comments on commit f8f00fa

Please sign in to comment.