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)