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 5cb18b5 commit 0e10604Copy full SHA for 0e10604
ios/CMakeLists.txt
@@ -1,4 +1,4 @@
1
-cmake_minimum_required(VERSION 3.4.1)
+cmake_minimum_required(VERSION 3.6)
2
set(TARGET torchvision_ops)
3
project(${TARGET} CXX)
4
set(CMAKE_CXX_STANDARD 14)
@@ -11,6 +11,12 @@ file(GLOB VISION_SRCS
11
../torchvision/csrc/ops/*.h
12
../torchvision/csrc/ops/*.cpp)
13
14
+# Remove interpolate_aa sources as they are temporary code
15
+# see https://github.com/pytorch/vision/pull/3761
16
+# and using TensorIterator unavailable with iOS
17
+# FILTER was added in CMake>=3.6 => 3.4.1 -> 3.6
18
+list(FILTER VISION_SRCS EXCLUDE REGEX ".+(interpolate_aa).+")
19
+
20
add_library(${TARGET} STATIC
21
${VISION_SRCS}
22
)
0 commit comments