From 875b54fc2ecd0a927e80e8167e877d0bbfc075ac Mon Sep 17 00:00:00 2001 From: Paulchen Panther Date: Wed, 8 Jan 2020 18:17:55 +0100 Subject: [PATCH] [HotFix] The Python version number was explicitly set Signed-off-by: Paulchen Panther --- CMakeLists.txt | 1 + libsrc/effectengine/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 68c7f382..496779ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,7 @@ if ( CCACHE_FOUND ) set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) endif(CCACHE_FOUND) +set(Python_ADDITIONAL_VERSIONS 3.5) find_package( PythonInterp 3.5 REQUIRED ) # Read version from version.json diff --git a/libsrc/effectengine/CMakeLists.txt b/libsrc/effectengine/CMakeLists.txt index 5fb38e1a..24f1e059 100644 --- a/libsrc/effectengine/CMakeLists.txt +++ b/libsrc/effectengine/CMakeLists.txt @@ -1,3 +1,4 @@ +set(Python_ADDITIONAL_VERSIONS 3.5) find_package(PythonLibs 3.5 REQUIRED) # Include the python directory. Also include the parent (which is for example /usr/include)