Revert "add Development.Embed"

This reverts commit af345043af.
This commit is contained in:
Matthias Hochsteger 2023-08-30 17:12:07 +02:00
parent af345043af
commit 40546340a4
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ endif()
set(NG_INSTALL_SUFFIX netgen CACHE STRING "Suffix appended to install directories (project name)")
if(USE_PYTHON)
find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module Development.Embed)
find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module)
execute_process(COMMAND ${Python3_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1,0,''))" OUTPUT_VARIABLE PYTHON_PACKAGES_INSTALL_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
file(TO_CMAKE_PATH ${PYTHON_PACKAGES_INSTALL_DIR} PYTHON_PACKAGES_INSTALL_DIR)

View File

@ -181,7 +181,7 @@ if (USE_PYTHON)
else( PYBIND_INCLUDE_DIR )
message(FATAL_ERROR "Could NOT find pybind11!")
endif( PYBIND_INCLUDE_DIR )
find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module Development.Embed)
find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module)
set_vars(NETGEN_CMAKE_ARGS
Python3_INCLUDE_DIRS