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:
@ -49,7 +49,7 @@ endif()
|
|||||||
|
|
||||||
# Gotta do this because libHSPlasma is still using the old broke-ass pre-3.12 find modules.
|
# Gotta do this because libHSPlasma is still using the old broke-ass pre-3.12 find modules.
|
||||||
set(Python3_FIND_STRATEGY VERSION)
|
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)
|
include(Dependencies)
|
||||||
if(korman_INSTALL_PACKAGE)
|
if(korman_INSTALL_PACKAGE)
|
||||||
|
@ -217,6 +217,7 @@ if(korman_BUILD_HSPLASMA)
|
|||||||
-DENABLE_PHYSX:BOOL=OFF
|
-DENABLE_PHYSX:BOOL=OFF
|
||||||
-DENABLE_PYTHON:BOOL=ON
|
-DENABLE_PYTHON:BOOL=ON
|
||||||
-DENABLE_TOOLS:BOOL=OFF
|
-DENABLE_TOOLS:BOOL=OFF
|
||||||
|
-DPYTHON_EXECUTABLE:FILEPATH=${Python3_EXECUTABLE}
|
||||||
-DPYTHON_INCLUDE_DIR:PATH=${Python3_INCLUDE_DIRS}
|
-DPYTHON_INCLUDE_DIR:PATH=${Python3_INCLUDE_DIRS}
|
||||||
-DPYTHON_LIBRARY:FILEPATH=${Python3_LIBRARIES}
|
-DPYTHON_LIBRARY:FILEPATH=${Python3_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user