diff options
author | fuzzard <fuzzard@kodi.tv> | 2021-07-31 19:22:08 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2021-08-16 18:09:06 +1000 |
commit | 4ff14f2b6444889362217351d76f4fba831ede5d (patch) | |
tree | eceee275273c4ad3cd246367e3b54689488ec8e3 /CMakeLists.txt | |
parent | 5fa982a881b761d8e224ff8686585d051246692d (diff) |
[cmake] findpython
use cmakes (3.12+) FindPython3 module.
Provide cmake vars for user to overide specific version, and search path
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a84c3e1082..b650dd446d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.4) +cmake_minimum_required(VERSION 3.12) if(WIN32) # Version 3.15 is required to use "PREPEND" for dependencies cmake_minimum_required(VERSION 3.15) @@ -184,8 +184,6 @@ core_require_dep(${required_deps}) find_package(TexturePacker REQUIRED) find_package(JsonSchemaBuilder REQUIRED) -SET(PYTHON_VERSION 3.8) - if(ENABLE_MARIADBCLIENT AND NOT ENABLE_MARIADBCLIENT STREQUAL AUTO AND ENABLE_MYSQLCLIENT AND NOT ENABLE_MYSQLCLIENT STREQUAL AUTO) MESSAGE(FATAL_ERROR "You can not use MySql and MariaDB at the same time. Disable one by adding -DENABLE_MYSQLCLIENT=OFF or -DENABLE_MARIADBCLIENT=OFF.") elseif(ENABLE_MYSQLCLIENT AND NOT ENABLE_MYSQLCLIENT STREQUAL AUTO) |