Skip to content

Commit

Permalink
Set CMake default Python to 3.10.X
Browse files Browse the repository at this point in the history
  • Loading branch information
LexiconCode authored Mar 20, 2022
2 parents 8060086 + e35285c commit 63918fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cmake_minimum_required (VERSION 3.20)

project (Natlink)
set(NATLINK_VERSION 5.0.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
Expand Down
4 changes: 2 additions & 2 deletions CMakeSettings.json
Original file line number Diff line number Diff line change
@@ -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" ]
Expand Down

0 comments on commit 63918fc

Please sign in to comment.