]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: use proper FIND_PACKAGE call in python bindings setup 14158/head
authorMatthias Maier <tamiko@43-1.org>
Sat, 23 Jul 2022 23:45:14 +0000 (18:45 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sat, 23 Jul 2022 23:45:14 +0000 (18:45 -0500)
contrib/python-bindings/CMakeLists.txt

index 50011c11e0845c565472d4f46be498e0fd2079bd..a7397ad2b2b9fd3df409013843403198caf87492 100644 (file)
@@ -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/)
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.