diff options
author | Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com> | 2017-08-21 20:18:49 (GMT) |
---|---|---|
committer | Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com> | 2017-08-21 20:18:49 (GMT) |
commit | 33161f489c5d90c314335205fbc1cec7cba6eae8 (patch) | |
tree | f8eff0f1b8f79b190fd9ef7ab64ccdc452c21759 /Modules/FindLua51.cmake | |
parent | 9a0a6f91ae5c8e25197d50e7045b6c4418f607b2 (diff) | |
download | CMake-33161f489c5d90c314335205fbc1cec7cba6eae8.zip CMake-33161f489c5d90c314335205fbc1cec7cba6eae8.tar.gz CMake-33161f489c5d90c314335205fbc1cec7cba6eae8.tar.bz2 |
FindQt4: Do not assume all libraries are frameworks
Since on MacOSX not all modules are available as "framework" (e.g libQtUiTools.a),
the assumption made in "FindQt4.cmake" is not always valid and systematically
setting the imported libraries location to framework location is incorrect.
This commit increases the robustness of the logic by first checking
if the location exists.
Fixes #17195
Diffstat (limited to 'Modules/FindLua51.cmake')
0 files changed, 0 insertions, 0 deletions