Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alex W.
VTK
Commits
5b6dab3e
Commit
5b6dab3e
authored
6 years ago
by
Sankhesh Jhaveri
Browse files
Options
Downloads
Patches
Plain Diff
Fix IOS builds failing due to improperly configured vtk_glew.h
parent
f0d003ea
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ThirdParty/glew/CMakeLists.txt
+6
-5
6 additions, 5 deletions
ThirdParty/glew/CMakeLists.txt
with
6 additions
and
5 deletions
ThirdParty/glew/CMakeLists.txt
+
6
−
5
View file @
5b6dab3e
if
(
VTK_OPENGL_USE_GLES OR ANDROID
)
if
(
VTK_OPENGL_USE_GLES OR ANDROID
AND NOT VTK_IOS_BUILD
)
set
(
VTK_MODULE_vtkglew_GLES3 1
)
endif
()
if
(
NOT BUILD_SHARED_LIBS
)
if
(
NOT BUILD_SHARED_LIBS
)
set
(
GLEW_STATIC 1
)
endif
()
include
(
CMakeDependentOption
)
cmake_dependent_option
(
VTK_MODULE_vtkglew_IS_SHARED
"Whether the glew in use is shared or not"
ON
cmake_dependent_option
(
VTK_MODULE_vtkglew_IS_SHARED
"Whether the glew in use is shared or not"
ON
VTK_USE_SYSTEM_GLEW
"
${
BUILD_SHARED_LIBS
}
"
)
mark_as_advanced
(
VTK_MODULE_vtkglew_IS_SHARED
)
if
(
VTK_MODULE_vtkglew_IS_SHARED
)
if
(
VTK_MODULE_vtkglew_IS_SHARED
)
set
(
VTK_SYSTEM_GLEW_SHARED 1
)
endif
()
endif
()
vtk_module_third_party
(
GLEW
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment