Commit af6b7528 authored by Jan Möbius's avatar Jan Möbius

Added library dir of python for coreapp

parent a8ba83bf
......@@ -81,6 +81,9 @@ if ( PYTHON3_FOUND)
)
list(APPEND directories "../PythonInterpreter")
link_directories(${Python3_LIBRARY_DIRS})
add_definitions(-DPYTHON_ENABLED )
message("Including Python interpreter")
endif()
......@@ -138,9 +141,6 @@ endif ()
if ( PYTHON3_FOUND)
target_link_libraries(${OPENFLIPPER_PRODUCT_STRING} ${PYTHON_LIBRARY} pybind11::module pybind11::embed Python3::Python )
link_directories(${Python3_LIBRARY_DIRS})
add_definitions(-DPYTHON_ENABLED )
message("OpenFlipper builds with python support")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment