ports/misc/pytorch/files/patch-cmake_Dependencies.cmake
Po-Chuan Hsieh dbe851cc29
misc/pytorch: Update to 2.1.0
- Add LICENSE_FILE
- Remove PYTHON_EXECUTABLE which is set by USES=python now
- Comment BROKEN_* temporarily to see if the new version builds

Changes:	https://github.com/pytorch/pytorch/releases
PR:		274859
Approved by:	maintainer (timeout, 25 days)
2023-11-27 18:30:09 +08:00

8 lines
210 B
CMake

--- cmake/Dependencies.cmake.orig 2023-05-08 19:58:16 UTC
+++ cmake/Dependencies.cmake
@@ -1,3 +1,5 @@
+set(CMAKE_CXX_STANDARD 17)
+
# RPATH stuff
# see https://cmake.org/Wiki/CMake_RPATH_handling
if(APPLE)