diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2017-11-15 14:05:41 (GMT) |
---|---|---|
committer | Christian Pfeiffer <cpfeiffer@live.de> | 2017-11-15 14:05:41 (GMT) |
commit | 98314d536e23168333bce28703668683192d7bd2 (patch) | |
tree | 18dd9225e33f42569dd3e2ff897d0d01a28dfddc /Copyright.txt | |
parent | e31288582977c10972af9baa3b0e41d758094d21 (diff) | |
download | CMake-98314d536e23168333bce28703668683192d7bd2.zip CMake-98314d536e23168333bce28703668683192d7bd2.tar.gz CMake-98314d536e23168333bce28703668683192d7bd2.tar.bz2 |
FindOpenMP: Use NO_DEFAULT_PATH where appropriate
OpenMP libraries must always be found in the implicit linking
directories of a compiler when using the OpenMP compile flag. If a suitable OpenMP library is also found in for example some CMAKE_PREFIX_PATH, this can lead to the module finding the incorrect library.
On the other hand, CMAKE_PREFIX_PATH can't ever be a location that we
need to consider since the OpenMP compile flag would not work if we
needed to.
Diffstat (limited to 'Copyright.txt')
0 files changed, 0 insertions, 0 deletions