4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 02:27:36 -04:00

Ensure HSPlasma gets the correct Python exe.

This commit is contained in:
2022-02-26 15:55:39 -05:00
parent 44a41429c3
commit 301bf81ba5
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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}
)