From cb18ec0c33bb4f94b64d963440814f4810815905 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Mon, 14 Oct 2013 06:28:17 +0000 Subject: [PATCH] - Fix build and fix gcc 4.8.x build issues. svn path=/trunk/; revision=60660 --- reactos/dll/opengl/mesa/main/CMakeLists.txt | 5 +++-- reactos/dll/opengl/mesa/swrast/CMakeLists.txt | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/reactos/dll/opengl/mesa/main/CMakeLists.txt b/reactos/dll/opengl/mesa/main/CMakeLists.txt index 52cb5954b9b..16d9709bb70 100644 --- a/reactos/dll/opengl/mesa/main/CMakeLists.txt +++ b/reactos/dll/opengl/mesa/main/CMakeLists.txt @@ -75,5 +75,6 @@ list(APPEND SOURCE ) add_library(mesa_main STATIC ${SOURCE}) - -allow_warnings(mesa_main) +if(NOT MSVC) + allow_warnings(mesa_main) +endif() diff --git a/reactos/dll/opengl/mesa/swrast/CMakeLists.txt b/reactos/dll/opengl/mesa/swrast/CMakeLists.txt index 81dee90b45b..344f3340bea 100644 --- a/reactos/dll/opengl/mesa/swrast/CMakeLists.txt +++ b/reactos/dll/opengl/mesa/swrast/CMakeLists.txt @@ -28,5 +28,6 @@ list(APPEND SOURCE ) add_library(mesa_swrast STATIC ${SOURCE}) - -allow_warnings(mesa_swrast) +if(NOT MSVC) + allow_warnings(mesa_swrast) +endif()