[Piglit] [PATCH 02/14] cmake: For MSVC, add "include/msvc/c99" to include path

Chad Versace chad.versace at linux.intel.com
Tue Jun 12 16:02:48 PDT 2012


Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 CMakeLists.txt |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7202417..0dbb14f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -138,6 +138,8 @@ if (MINGW)
 endif ()
 
 if (WIN32)
+	include_directories("include/msvc/c99")
+
 	# MSVC & MinGW only define & use APIENTRY
 	add_definitions (-DGLAPIENTRY=__stdcall)
 
-- 
1.7.10.4



More information about the Piglit mailing list