Skip to content

Commit

Permalink
Fix cpp/mnist CMakeList build. (Taeung#764)
Browse files Browse the repository at this point in the history
Fixes error: `error: You need C++14 to compile PyTorch`.
  • Loading branch information
kasimte authored May 21, 2020
1 parent 1877b87 commit 22ee056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/mnist/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(mnist)
set(CMAKE_CXX_STANDARD 14)

find_package(Torch REQUIRED)

Expand Down

0 comments on commit 22ee056

Please sign in to comment.