[Piglit] [PATCH 02/14] cmake: For MSVC, add "include/msvc/c99" to include path
Chad Versace
chad.versace at linux.intel.com
Wed Jun 13 10:22:56 PDT 2012
On 06/13/2012 12:41 AM, Jose Fonseca wrote:
>
>
> ----- Original Message -----
>> 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")
>> +
>
> WIN32 is also defined for MinGW, which does not need these headers. To only include this on MSVC this should be done as
>
> if (MSVC)
> include_directories(include/msvc/c99)
> endif ()
Thanks for catching this. It's fixed now on my separate-main-v11 branch.
More information about the Piglit
mailing list