summaryrefslogtreecommitdiff
path: root/Utilities
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:20:02 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:20:02 +0900
commit8848cb736cd3fff26063eb5b814ec494d65eb8e1 (patch)
tree126ca62e176f86975c4a3dd5514f9867b8ed2f30 /Utilities
parent9d41175628605ea4864b68853cd2d7c873c4d869 (diff)
downloadcmake-8848cb736cd3fff26063eb5b814ec494d65eb8e1.tar.gz
cmake-8848cb736cd3fff26063eb5b814ec494d65eb8e1.tar.bz2
cmake-8848cb736cd3fff26063eb5b814ec494d65eb8e1.zip
Imported Upstream version 3.17.2upstream/3.17.2
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Scripts/BoostScanDeps.cmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/Utilities/Scripts/BoostScanDeps.cmake b/Utilities/Scripts/BoostScanDeps.cmake
index 28a94ce89..5794d03e8 100644
--- a/Utilities/Scripts/BoostScanDeps.cmake
+++ b/Utilities/Scripts/BoostScanDeps.cmake
@@ -134,11 +134,17 @@ 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()
endif()
+ if(component STREQUAL "nowide" AND
+ _boost_component_match STREQUAL "filesystem")
+ # Optional filesystem dependency; skip to avoid making it a
+ # hard dependency.
+ continue()
+ endif()
if (_boost_dep_found EQUAL -1 AND
NOT "${_boost_component_match}" STREQUAL "${component}")
list(APPEND _boost_DEPS "${_boost_component_match}")