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
382d0d44
Commit
382d0d44
authored
Jan 09, 2003
by
Ken Martin
Browse files
better fix for win32
parent
75856e17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/FindOpenGL.cmake
View file @
382d0d44
...
...
@@ -104,8 +104,7 @@ ELSE (WIN32)
ENDIF
(
WIN32
)
SET
(
OPENGL_FOUND
"NO"
)
IF
(
OPENGL_INCLUDE_DIR
)
IF
(
OPENGL_gl_LIBRARY
)
IF
(
OPENGL_gl_LIBRARY
)
IF
(
OPENGL_xmesa_INCLUDE_DIR
)
SET
(
OPENGL_XMESA_FOUND
"YES"
)
...
...
@@ -127,13 +126,11 @@ IF(OPENGL_INCLUDE_DIR)
SET
(
OPENGL_LIBRARY
${
OPENGL_LIBRARIES
}
)
ENDIF
(
OPENGL_gl_LIBRARY
)
ENDIF
(
OPENGL_gl_LIBRARY
)
# This deprecated setting is for backward compatibility with CMake1.4
# This deprecated setting is for backward compatibility with CMake1.4
SET
(
OPENGL_INCLUDE_PATH
${
OPENGL_INCLUDE_DIR
}
)
SET
(
OPENGL_INCLUDE_PATH
${
OPENGL_INCLUDE_DIR
}
)
ENDIF
(
OPENGL_INCLUDE_DIR
)
# On OSX, OpenGL is always there - this will need refining for those
# using OpenGL with X11
...
...
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