From: José Fonseca <jfons...@vmware.com>

Instead of just MSVC builds.

Because pkg-config is not commonly available when compiling natively on
Windows, and gives the wrong results (the host package instead of target
package) when cross-compiling to Windows.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6ba6df8..7be1bc4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,7 +42,7 @@ else()
 endif()
 
 if(PIGLIT_USE_WAFFLE)
-       if (NOT MSVC)
+       if (NOT WIN32)
                pkg_check_modules(WAFFLE REQUIRED waffle-1)
 
                if(NOT WAFFLE_FOUND)
-- 
2.1.0

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to