mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-17 22:39:17 +02:00
Update CMakeLists.txt
This commit is contained in:
@@ -473,7 +473,8 @@ endif()
|
||||
target_link_libraries(${PROJECT_NAME} glfw)
|
||||
|
||||
if(WITH_PYTHON)
|
||||
find_package(Python3 3.14 REQUIRED COMPONENTS Development)
|
||||
find_package(Python3 3.14 REQUIRED COMPONENTS Interpreter Development)
|
||||
get_filename_component(Python3_ROOT_DIR "${Python3_EXECUTABLE}" DIRECTORY)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${Python3_INCLUDE_DIRS})
|
||||
target_link_libraries(${PROJECT_NAME} ${Python3_LIBRARIES})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user