aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glut_waffle/CMakeLists.no_api.txt3
-rw-r--r--src/glut_waffle/glut_waffle.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/glut_waffle/CMakeLists.no_api.txt b/src/glut_waffle/CMakeLists.no_api.txt
index b49965a9..70bd193f 100644
--- a/src/glut_waffle/CMakeLists.no_api.txt
+++ b/src/glut_waffle/CMakeLists.no_api.txt
@@ -1,5 +1,4 @@
-include_directories(${WAFFLE_INCLUDE_DIR})
-link_libraries(${WAFFLE_waffle_LIBRARY})
+link_libraries(${WAFFLE_LIBRARIES})
add_library(glut_waffle SHARED
glut_waffle.c
diff --git a/src/glut_waffle/glut_waffle.c b/src/glut_waffle/glut_waffle.c
index 03590749..83281fd8 100644
--- a/src/glut_waffle/glut_waffle.c
+++ b/src/glut_waffle/glut_waffle.c
@@ -32,7 +32,7 @@
#include <unistd.h>
#include <EGL/egl.h>
-#include <waffle/waffle.h>
+#include <waffle.h>
extern int piglit_automatic;