[HotFix] The Python version number was explicitly set

Signed-off-by: Paulchen Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
Paulchen Panther 2020-01-08 18:17:55 +01:00
parent fe728b1543
commit 875b54fc2e
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ if ( CCACHE_FOUND )
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif(CCACHE_FOUND) endif(CCACHE_FOUND)
set(Python_ADDITIONAL_VERSIONS 3.5)
find_package( PythonInterp 3.5 REQUIRED ) find_package( PythonInterp 3.5 REQUIRED )
# Read version from version.json # Read version from version.json

View File

@ -1,3 +1,4 @@
set(Python_ADDITIONAL_VERSIONS 3.5)
find_package(PythonLibs 3.5 REQUIRED) find_package(PythonLibs 3.5 REQUIRED)
# Include the python directory. Also include the parent (which is for example /usr/include) # Include the python directory. Also include the parent (which is for example /usr/include)