diff options
author | Brad King <brad.king@kitware.com> | 2022-08-02 13:33:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-08-02 13:33:09 (GMT) |
commit | ad20e7b2ae6e698b6778f0572f1a03fdf1fcacda (patch) | |
tree | 54a048061231502e8208ae08c255980fe613312f | |
parent | a3cd71af65f968482cf8baea6ec494ceb71c6a93 (diff) | |
parent | 09b4e870a5f4725f1529e2f4a998d563d8796b19 (diff) | |
download | CMake-ad20e7b2ae6e698b6778f0572f1a03fdf1fcacda.zip CMake-ad20e7b2ae6e698b6778f0572f1a03fdf1fcacda.tar.gz CMake-ad20e7b2ae6e698b6778f0572f1a03fdf1fcacda.tar.bz2 |
Merge topic 'find-openmp-from-system-paths'
09b4e870a5 FindOpenMP: Restore searching system paths
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Felix Yan <felixonmars@archlinux.org>
Merge-request: !7526
-rw-r--r-- | Modules/FindOpenMP.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake index 0590a28..844ceb3 100644 --- a/Modules/FindOpenMP.cmake +++ b/Modules/FindOpenMP.cmake @@ -279,7 +279,9 @@ function(_OPENMP_GET_FLAGS LANG FLAG_MODE OPENMP_FLAG_VAR OPENMP_LIB_NAMES_VAR) DOC "Path to the ${_OPENMP_IMPLICIT_LIB_PLAIN} library for OpenMP" HINTS ${OpenMP_${LANG}_IMPLICIT_LINK_DIRS} CMAKE_FIND_ROOT_PATH_BOTH - NO_DEFAULT_PATH + NO_PACKAGE_ROOT_PATH + NO_CMAKE_PATH + NO_CMAKE_ENVIRONMENT_PATH ) endif() mark_as_advanced(OpenMP_${_OPENMP_IMPLICIT_LIB_PLAIN}_LIBRARY) |