From 40076ac1a013cd7d221f9dda913b4d0e6452c21e Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sat, 23 Jul 2022 18:45:14 -0500 Subject: [PATCH] CMake: use proper FIND_PACKAGE call in python bindings setup --- contrib/python-bindings/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/python-bindings/CMakeLists.txt b/contrib/python-bindings/CMakeLists.txt index 50011c11e0..a7397ad2b2 100644 --- a/contrib/python-bindings/CMakeLists.txt +++ b/contrib/python-bindings/CMakeLists.txt @@ -49,9 +49,9 @@ IF(DEAL_II_COMPONENT_PYTHON_BINDINGS) # Make sure FindBoost.cmake from CMake installation is found. LIST(REMOVE_ITEM CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) IF(${BOOST_VERSION} VERSION_LESS 1.67) - _FIND_PACKAGE(Boost 1.59 COMPONENTS python REQUIRED) + FIND_PACKAGE(Boost 1.59 COMPONENTS python REQUIRED) ELSE() - _FIND_PACKAGE(Boost 1.67 COMPONENTS python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR} REQUIRED) + FIND_PACKAGE(Boost 1.67 COMPONENTS python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR} REQUIRED) ENDIF() LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) -- 2.39.5