Fixed failure to install glut.h header file when FREEGLUT_REPLACE_GLUT is
authorJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 18 Sep 2019 11:53:32 +0000 (11:53 +0000)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 18 Sep 2019 11:53:32 +0000 (11:53 +0000)
enabled (bug #250)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1853 7f0cb862-5218-0410-a997-914c9d46530a

CMakeLists.txt

index 0c10a56..690f0ec 100644 (file)
@@ -73,7 +73,7 @@ SET(FREEGLUT_HEADERS
     include/GL/freeglut_std.h
 )
 IF(FREEGLUT_REPLACE_GLUT)
-    LIST(APPEND FREEGLUT_SRCS
+    LIST(APPEND FREEGLUT_HEADERS
         include/GL/glut.h
     )
 ENDIF()