[waffle] [PATCH 18/18] tests: do not force gcc compiler flags onto msvc

Emil Velikov emil.l.velikov at gmail.com
Tue Jul 22 20:31:44 PDT 2014


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 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



More information about the waffle mailing list