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
925722f9
Commit
925722f9
authored
Apr 23, 2017
by
Nigel Stewart
Browse files
OSX cmake refinement - no Requires: glu in glew.pc
parent
2906c1c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/cmake/CMakeLists.txt
View file @
925722f9
...
...
@@ -192,6 +192,12 @@ set (version ${GLEW_VERSION})
set
(
libname
${
GLEW_LIB_NAME
}
)
set
(
cflags
)
set
(
requireslib glu
)
# Mac OSX has no glu.pc unless optional X11/GLX is installed
if
(
APPLE
)
set
(
requireslib
)
endif
()
configure_file
(
${
GLEW_DIR
}
/glew.pc.in
${
GLEW_DIR
}
/glew.pc @ONLY
)
install
(
FILES
${
GLEW_DIR
}
/glew.pc
...
...
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