Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
CMake
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2,681
Issues
2,681
List
Boards
Labels
Milestones
Merge Requests
14
Merge Requests
14
Packages
Packages
Container Registry
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
CMake
CMake
Commits
8e9630c7
Commit
8e9630c7
authored
Jan 07, 2013
by
Rolf Eike Beer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FindGLUT: BeOS does not have libXi and libXmu
parent
50bfedf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
Modules/FindGLUT.cmake
Modules/FindGLUT.cmake
+21
-7
No files found.
Modules/FindGLUT.cmake
View file @
8e9630c7
...
...
@@ -40,25 +40,39 @@ else ()
set
(
GLUT_cocoa_LIBRARY
"-framework Cocoa"
CACHE STRING
"Cocoa framework for OSX"
)
else
()
if
(
BEOS
)
set
(
_GLUT_INC_DIR /boot/develop/headers/os/opengl
)
set
(
_GLUT_glut_LIB_DIR /boot/develop/lib/x86
)
else
()
find_library
(
GLUT_Xi_LIBRARY Xi
/usr/openwin/lib
)
find_library
(
GLUT_Xmu_LIBRARY Xmu
/usr/openwin/lib
)
endif
()
find_path
(
GLUT_INCLUDE_DIR GL/glut.h
/usr/include/GL
/usr/openwin/share/include
/usr/openwin/include
/opt/graphics/OpenGL/include
/opt/graphics/OpenGL/contrib/libglut
${
_GLUT_INC_DIR
}
)
find_library
(
GLUT_glut_LIBRARY glut
/usr/openwin/lib
${
_GLUT_glut_LIB_DIR
}
)
find_library
(
GLUT_Xi_LIBRARY Xi
/usr/openwin/lib
)
find_library
(
GLUT_Xmu_LIBRARY Xmu
/usr/openwin/lib
)
unset
(
_GLUT_INC_DIR
)
unset
(
_GLUT_glut_LIB_DIR
)
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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