From a8157c68f0c0cb7303b2de37ae83f71d9acf7a2b Mon Sep 17 00:00:00 2001 From: ncdhz <1137436221@qq.com> Date: Fri, 29 Mar 2024 11:32:07 +0800 Subject: [PATCH] update --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2777a33..8a5c201 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required(VERSION 3.10) +set(CMAKE_CXX_STANDARD 17) # Windows 系统下指定 pytorch 路径和 opencv 路径 # set(Torch_DIR /path/to/libtorch/share/cmake/Torch) # set(OpenCV_DIR /path/to/opencv/build)