Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
a7e963bd
Commit
a7e963bd
authored
Aug 27, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed GLEW library detection for Mac OS X.
parent
1b7593f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
FindGLEW.cmake
CMakeModules/FindGLEW.cmake
+7
-3
No files found.
CMakeModules/FindGLEW.cmake
View file @
a7e963bd
...
...
@@ -42,12 +42,16 @@ ELSE (WIN32)
IF
(
APPLE
)
# These values for Apple could probably do with improvement.
FIND_PATH
(
GLEW_INCLUDE_DIR glew.h
FIND_PATH
(
GLEW_INCLUDE_DIR
GL/
glew.h
/System/Library/Frameworks/GLEW.framework/Versions/A/Headers
/opt/local/include
${
OPENGL_LIBRARY_DIR
}
)
SET
(
GLEW_GLEW_LIBRARY
"-framework GLEW"
CACHE STRING
"GLEW library for OSX"
)
SET
(
GLEW_cocoa_LIBRARY
"-framework Cocoa"
CACHE STRING
"Cocoa framework for OSX"
)
FIND_LIBRARY
(
GLEW_GLEW_LIBRARY GLEW
/opt/local/lib
)
ELSE
(
APPLE
)
FIND_PATH
(
GLEW_INCLUDE_DIR GL/glew.h
...
...
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