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
CMake
CMake
Commits
75856e17
Commit
75856e17
authored
Jan 09, 2003
by
Ken Martin
Browse files
update to not put PROJECT_SOURCE_DIR as OPENGL_PATH
parent
05955d64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/FindOpenGL.cmake
View file @
75856e17
...
...
@@ -41,16 +41,6 @@ IF (WIN32)
SET
(
OPENGL_glu_LIBRARY glu32 CACHE STRING
"GLU library for win32"
)
ENDIF
(
BORLAND
)
# No extra include path needed because OpenGL includes are with
# the system includes but, cmake will create makefiles with
# "-I${OPENGL_INCLUDE_DIR}" options if OPENGL_INCLUDE_DIR is
# not set. OPENGL_INCLUDE_DIR cannot be set to "" because the
# resulting -I option to "cl" will eat the following
# "-IC:\really\needed" option. This is a kludge to get around
# cmake not ignoring INCLUDE_DIRECTORIES commands with empty
# strings.
SET
(
OPENGL_INCLUDE_DIR
"
${
PROJECT_SOURCE_DIR
}
"
)
ENDIF
(
CYGWIN
)
ELSE
(
WIN32
)
...
...
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