diff options
author | Arpit Nandwani <arpit.nandwani@gmail.com> | 2017-08-23 20:48:33 +0530 |
---|---|---|
committer | Jim Carroll <git@dempsy.net> | 2019-10-11 22:46:08 +0300 |
commit | 61f40eaf0863e5508db0419adaae014309a53e0a (patch) | |
tree | f75c28031eecdab0c292dc50553168a1ed98f477 /CMakeLists.txt | |
parent | e06f15ab352db1180ddf01109270e293dc0d5988 (diff) |
Added Python Version Varaiable
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f296653053..2fb6bf5bed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,6 +163,8 @@ find_package(JsonSchemaBuilder REQUIRED) core_optional_dep(${optional_deps}) core_require_dep(${required_deps}) +SET(PYTHON_VERSION 3.7) + 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) |