Skip to content

Commit 0c8ff08

Browse files
committed
remove unsupported keyword Global (need cmake 3.24)
1 parent 5c778cb commit 0c8ff08

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SofaPython3Config.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include(SofaPython3Tools)
1010

1111
# Find Python3
1212
if(NOT TARGET Python::Python)
13-
find_package(Python @PythonMAJMIN@ EXACT QUIET REQUIRED COMPONENTS Interpreter Development GLOBAL)
13+
find_package(Python @PythonMAJMIN@ EXACT QUIET REQUIRED COMPONENTS Interpreter Development)
1414
endif()
1515

1616
# Find pybind11
@@ -40,7 +40,7 @@ if(NOT TARGET pybind11)
4040
set(PYTHON_INCLUDE_DIR "${Python_INCLUDE_DIRS}" CACHE INTERNAL "" FORCE)
4141
endif()
4242

43-
find_package(pybind11 @pybind11_VERSION@ QUIET REQUIRED CONFIG GLOBAL)
43+
find_package(pybind11 @pybind11_VERSION@ QUIET REQUIRED CONFIG)
4444

4545
# Reset PYTHON_* vars
4646
set(PYTHON_VERSION "${PYTHON_VERSION_RESET}" CACHE STRING "" FORCE)

0 commit comments

Comments
 (0)