Signed-off-by: Emil Velikov <[email protected]>
---
 tests/functional/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/functional/CMakeLists.txt b/tests/functional/CMakeLists.txt
index 7a83e39..23618fc 100644
--- a/tests/functional/CMakeLists.txt
+++ b/tests/functional/CMakeLists.txt
@@ -13,11 +13,13 @@ if(waffle_on_mac)
         )
 endif()
 
+if(NOT MSVC)
 set_source_files_properties(
     ${gl_basic_test_sources}
     PROPERTIES
         COMPILE_FLAGS "-Wno-initializer-overrides"
 )
+endif()
 
 # CMake will pass to the C compiler only C sources. CMake does not recognize 
the
 # .m extension and ignores any such files in the source lists. To coerce CMake
-- 
2.0.2

_______________________________________________
waffle mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/waffle

Reply via email to