diff options
author | Kohányi Róbert <kohanyi.robert@gmail.com> | 2018-09-18 09:02:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-09-25 13:00:54 (GMT) |
commit | 0da645d4523474093f36d66722dfcd3aa008a40d (patch) | |
tree | 73aaeeb49639426c6cb2c74477d506d2ace54034 /Help | |
parent | 6097d8dd3d6ea6e5a0a6012952b722d0719d39e9 (diff) | |
download | CMake-0da645d4523474093f36d66722dfcd3aa008a40d.zip CMake-0da645d4523474093f36d66722dfcd3aa008a40d.tar.gz CMake-0da645d4523474093f36d66722dfcd3aa008a40d.tar.bz2 |
FindGLUT: Find debug/release variants on Windows
* Separate find_library calls to find Release and Debug libs.
* Using select_library_configurations to properly populate required
variables (similar to FindZLIB).
* Setting Release and Debug specific properties
(IMPORTED_CONFIGURATIONS_<CONFIG> and IMPORTED_LOCATION_<CONFIG>).
* Falling back to setting just IMPORTED_LOCATION if
GLUT_glut_LIBRARY_RELEASE or GLUT_glut_LIBRARY_DEBUG are not defined.
This enables proper linking on Windows.
Fixes: #17037
Diffstat (limited to 'Help')
0 files changed, 0 insertions, 0 deletions