From: Matthias Maier Date: Sat, 23 Jul 2022 23:45:14 +0000 (-0500) Subject: CMake: use proper FIND_PACKAGE call in python bindings setup X-Git-Tag: v9.5.0-rc1~1062^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14158%2Fhead;p=dealii.git CMake: use proper FIND_PACKAGE call in python bindings setup --- 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/)