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
549e5f68
Commit
549e5f68
authored
Jan 04, 2008
by
raburton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: check for opengl and fail if it isn't found
parent
e341f1c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
CMakeLists.txt
3d-viewer/CMakeLists.txt
+9
-0
No files found.
3d-viewer/CMakeLists.txt
View file @
549e5f68
FIND_PACKAGE
(
OpenGL REQUIRED
)
IF
(
OPENGL_FOUND
)
MESSAGE
(
STATUS
"Check for installed OpenGL -- found"
)
ELSE
(
OPENGL_FOUND
)
MESSAGE
(
STATUS
"Check for installed OpenGL -- not found"
)
MESSAGE
(
FATAL_ERROR
"OpenGL was not found - it is required to build KiCad"
)
ENDIF
(
OPENGL_FOUND
)
ADD_DEFINITIONS
(
-DPCBNEW
)
INCLUDE_DIRECTORIES
(
...
...
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