projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf31d4
)
CMake: include/GL/glut.h should only be installed when FREEGLUT_REPLACE_GLUT is ON
author
Diederick Niehorster
<dcnieho@gmail.com>
Wed, 26 Apr 2017 08:45:32 +0000
(08:45 +0000)
committer
Diederick Niehorster
<dcnieho@gmail.com>
Wed, 26 Apr 2017 08:45:32 +0000
(08:45 +0000)
(cherry picked from commit
a0b77bba49573dab3564ce22a503024098664f04
)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1798
7f0cb862
-5218-0410-a997-
914c9d46530a
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
6ec15b4
..
190964f
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-70,8
+70,12
@@
SET(FREEGLUT_HEADERS
include/GL/freeglut.h
include/GL/freeglut_ext.h
include/GL/freeglut_std.h
- include/GL/glut.h
)
+IF(FREEGLUT_REPLACE_GLUT)
+ LIST(APPEND FREEGLUT_SRCS
+ include/GL/glut.h
+ )
+ENDIF()
SET(FREEGLUT_SRCS
${FREEGLUT_HEADERS}
src/fg_callbacks.c