From 6ac56e889b0b477d46daf0b4c895e4e48d7d8b7f Mon Sep 17 00:00:00 2001 From: LexiconCode Date: Sat, 19 Mar 2022 20:34:46 -0500 Subject: [PATCH] Set CMake default Python to 3.10.X --- CMakeLists.txt | 4 ++-- CMakeSettings.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ceec3b76..a1d63e46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ cmake_minimum_required (VERSION 3.20) project (Natlink) -set(NATLINK_VERSION 6.0) -set(PYTHON_VERSION 3.8 CACHE STRING "3.X for X >= 8") +set(NATLINK_VERSION 5.0) +set(PYTHON_VERSION 3.10 CACHE STRING "3.X for X >= 8") set(MYAPP_NAME "Natlink") # Other supported version; use CMake cache editor diff --git a/CMakeSettings.json b/CMakeSettings.json index f84c0a9b..db1239d5 100644 --- a/CMakeSettings.json +++ b/CMakeSettings.json @@ -1,12 +1,12 @@ { "configurations": [ { - "name": "3.8-32", + "name": "3.10-32", "generator": "Visual Studio 16 2019", "configurationType": "Debug", "buildRoot": "${projectDir}\\out\\build\\${name}", "installRoot": "${projectDir}\\out\\install\\${name}", - "cmakeCommandArgs": "-DPYTHON_VERSION:STRING=3.8", + "cmakeCommandArgs": "-DPYTHON_VERSION:STRING=3.10", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x86" ]