0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-10 02:15:29 +00:00
Files
termux-packages/packages/libncnn/examples_CMakeLists.txt.patch
Jia Yuan Lo c40a52499a fix(main/libcnn): add patches
Fix build issues around C++14 and unknown type name FILE
2023-07-09 23:16:23 +08:00

12 lines
346 B
Diff

--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -35,7 +35,7 @@ if(NCNN_PIXEL)
message(STATUS " include path: ${OpenCV_INCLUDE_DIRS}")
if(${OpenCV_VERSION_MAJOR} GREATER 3)
- set(CMAKE_CXX_STANDARD 11)
+ set(CMAKE_CXX_STANDARD 14)
endif()
endif()