There was an error while loading. Please reload this page.
1 parent 5c778cb commit 0c8ff08Copy full SHA for 0c8ff08
1 file changed
SofaPython3Config.cmake.in
@@ -10,7 +10,7 @@ include(SofaPython3Tools)
10
11
# Find Python3
12
if(NOT TARGET Python::Python)
13
- find_package(Python @PythonMAJMIN@ EXACT QUIET REQUIRED COMPONENTS Interpreter Development GLOBAL)
+ find_package(Python @PythonMAJMIN@ EXACT QUIET REQUIRED COMPONENTS Interpreter Development)
14
endif()
15
16
# Find pybind11
@@ -40,7 +40,7 @@ if(NOT TARGET pybind11)
40
set(PYTHON_INCLUDE_DIR "${Python_INCLUDE_DIRS}" CACHE INTERNAL "" FORCE)
41
42
43
- find_package(pybind11 @pybind11_VERSION@ QUIET REQUIRED CONFIG GLOBAL)
+ find_package(pybind11 @pybind11_VERSION@ QUIET REQUIRED CONFIG)
44
45
# Reset PYTHON_* vars
46
set(PYTHON_VERSION "${PYTHON_VERSION_RESET}" CACHE STRING "" FORCE)
0 commit comments