From bc5112df38b51327ae6a4a17bcf56cda2cae65c1 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Sun, 22 Jan 2023 19:59:45 -0500 Subject: [PATCH] Downgrading dependency Changing to cmake 3.10.2 as the minimum required version to build the software. Decided to use the latest cmake version for Ubuntu 18.04. I use a rolling distro but want to make it accessible --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1391d63..e2958d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,8 @@ -cmake_minimum_required(VERSION 3.23.3) +cmake_minimum_required(VERSION 3.10.2) -set(VCPKG_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/vcpkg) +if(NOT DEFINED VCPKG_ROOT_PATH) + set(VCPKG_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/vcpkg) +endif() message("The vcpkg root path ${VCPKG_ROOT_PATH}")