X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=CMakeLists.txt;h=190964ffbf53cbcd9ecf47bae581e25ee51d2c58;hb=3cb75b2e5c19ab250a5dfd0ca7da0fe7355269ec;hp=6ec15b4c2c929c040fff28dea148fed9cf2fa728;hpb=2bf31d41a0a8bd1db100a8e2f8f44830bd4025fd;p=freeglut diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ec15b4..190964f 100644 --- 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