summaryrefslogtreecommitdiff
path: root/graphics/freeglut/patches/patch-CMakeLists.txt
blob: fc95680305360197a1ba84fa985e271492e2bfa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-CMakeLists.txt,v 1.3 2019/10/03 11:17:51 nia Exp $

Install glut.h compatibility header properly.

--- CMakeLists.txt.orig	2019-03-26 18:55:42.000000000 +0000
+++ CMakeLists.txt
@@ -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()