[Piglit] [PATCH] cmake: WAFFLE_LIBRARIES -> WAFFLE_LDFLAGS

jfonseca at vmware.com jfonseca at vmware.com
Mon Aug 18 08:49:14 PDT 2014


From: José Fonseca <jfonseca at vmware.com>

Otherwise the build fails when libwaffle-1.so is not on a standard
library directory (ie., outside /usr/lib or /usr/local/lib).
---
 tests/util/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt
index b71fc52..d8a72df 100644
--- a/tests/util/CMakeLists.txt
+++ b/tests/util/CMakeLists.txt
@@ -77,7 +77,7 @@ if(PIGLIT_USE_WAFFLE)
 	endif()
 
 	list(APPEND UTIL_GL_LIBS
-		${WAFFLE_LIBRARIES}
+		${WAFFLE_LDFLAGS}
 	)
 else()
 	list(APPEND UTIL_GL_SOURCES
-- 
1.9.1



More information about the Piglit mailing list