1
2
3
4
5
6
7
8
9
10
11
12
13 | === modified file 'test/CMakeLists.txt'
--- test/CMakeLists.txt 2016-11-15 17:38:33 +0000
+++ test/CMakeLists.txt 2016-11-28 16:49:53 +0000
@@ -44,6 +44,9 @@
active_window.cpp
)
+# workaround googletest failing to compile with -pedantic when using the INSTANTIATE_TEST_CASE_P macro
+set_source_files_properties(drag_active_window.cpp modify_window_state.cpp PROPERTIES COMPILE_FLAGS -Wno-pedantic)
+
target_link_libraries(miral-test
${MIRTEST_LDFLAGS}
${GTEST_BOTH_LIBRARIES}
|