Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
6cb662b6
Commit
6cb662b6
authored
Sep 09, 2021
by
Thibaut ROMAIN
Committed by
Julien Osman
Apr 29, 2022
Browse files
BUG: fix MacOS Glew detection
parent
d7216fef
Pipeline
#10510
passed with stage
in 2 minutes
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Modules/ThirdParty/Glew/otb-module-init.cmake
View file @
6cb662b6
...
...
@@ -22,7 +22,11 @@ find_package(GLEW REQUIRED)
# FIX: glew-config.cmake import GLEW::GLEW target but does not necessarily set GLEW_LIBRARY
if
(
NOT GLEW_LIBRARY
)
get_target_property
(
GLEW_LIBRARY GLEW::GLEW IMPORTED_IMPLIB_RELEASE
)
if
(
WIN32
)
get_target_property
(
GLEW_LIBRARY GLEW::GLEW IMPORTED_IMPLIB_RELEASE
)
else
()
get_target_property
(
GLEW_LIBRARY GLEW::GLEW IMPORTED_LOCATION_RELEASE
)
endif
()
endif
()
mark_as_advanced
(
GLEW_INCLUDE_DIR
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment