Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
third-party
glew
Commits
c690766f
Commit
c690766f
authored
Dec 23, 2016
by
Rashad Kanavath
Browse files
CMake: call find_package only if build_utils is enabled
parent
a42be263
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/cmake/CMakeLists.txt
View file @
c690766f
...
...
@@ -44,8 +44,10 @@ else ()
endif
()
find_package
(
OpenGL REQUIRED
)
find_package
(
X11
)
#X11 is only required when builing utils/
if
(
BUILD_UTILS
)
find_package
(
X11
)
endif
()
set
(
GLEW_LIBRARIES
${
OPENGL_LIBRARIES
}
)
add_definitions
(
-DGLEW_NO_GLU
)
...
...
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