Jelajahi Sumber

BoostScanDeps: Fix typo in numpy handling

Fix a typo from commit e66e8e8914 (BoostScanDeps: Special case python
and numpy and variants, 2017-08-22, v3.10.0-rc1~229^2~1).
Alexander Grund 5 tahun lalu
induk
melakukan
56b3375f3e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Utilities/Scripts/BoostScanDeps.cmake

+ 1 - 1
Utilities/Scripts/BoostScanDeps.cmake

@@ -134,7 +134,7 @@ function(_Boost_FIND_COMPONENT_DEPENDENCIES component includedir _ret_libs)
             continue()
           endif()
           if(component STREQUAL "python" AND
-             boost_component_match STREQUAL "numpy")
+             _boost_component_match STREQUAL "numpy")
             # Optional python dependency; skip to avoid making it a
             # hard dependency (handle as special-case for numpy).
             continue()