diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ed6399..c06f1f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ endif() # Gotta do this because libHSPlasma is still using the old broke-ass pre-3.12 find modules. set(Python3_FIND_STRATEGY VERSION) -find_package(Python3 ${Blender_PYTHON_VERSION} EXACT COMPONENTS Development REQUIRED) +find_package(Python3 ${Blender_PYTHON_VERSION} EXACT COMPONENTS Development Interpreter REQUIRED) include(Dependencies) if(korman_INSTALL_PACKAGE) diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake index f33cbd0..fb2e3f4 100644 --- a/cmake/Dependencies.cmake +++ b/cmake/Dependencies.cmake @@ -217,6 +217,7 @@ if(korman_BUILD_HSPLASMA) -DENABLE_PHYSX:BOOL=OFF -DENABLE_PYTHON:BOOL=ON -DENABLE_TOOLS:BOOL=OFF + -DPYTHON_EXECUTABLE:FILEPATH=${Python3_EXECUTABLE} -DPYTHON_INCLUDE_DIR:PATH=${Python3_INCLUDE_DIRS} -DPYTHON_LIBRARY:FILEPATH=${Python3_LIBRARIES} )