From d697ad6a4c8c6cb2ae4f343befb0f839dcc6d69e Mon Sep 17 00:00:00 2001 From: vishesh9131 Date: Tue, 15 Sep 2026 23:51:57 +0530 Subject: [PATCH] Update cxxopts to v3.3.1 cxxopts v2.2.0 declares cmake_minimum_required(VERSION 3.1). CMake 4 removed compatibility with versions older than 3.5, so configuring the project fails unless CMAKE_POLICY_VERSION_MINIMUM is set. v3.3.1 declares 3.5...3.19 and needs no source changes in the image captioning tutorial. --- extern/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index d1a337e..3d6d608 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -7,7 +7,7 @@ include(FetchContent) FetchContent_Declare( extern_cxxopts GIT_REPOSITORY https://github.com/jarro2783/cxxopts.git - GIT_TAG v2.2.0 + GIT_TAG v3.3.1 SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cxxopts )