mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
2da1d924f7
This makes them compatible with newer versions of gtest.
14 lines
603 B
Diff
14 lines
603 B
Diff
diff --git a/tests/tests.pro b/tests/tests2.pro
|
|
index 314cad227646..48f1c66ee3f7 100644
|
|
--- a/tests/tests.pro
|
|
+++ b/tests/tests.pro
|
|
@@ -6,7 +6,7 @@ QT += core gui sql printsupport dbus testlib widgets
|
|
#QMAKE_CXXFLAGS += -g -fsanitize=undefined,address -O2
|
|
#QMAKE_LFLAGS += -g -fsanitize=undefined,address -O2
|
|
|
|
-CONFIG += c++11 link_pkgconfig resources_big testcase no_testcase_installs
|
|
+CONFIG += c++14 link_pkgconfig resources_big testcase no_testcase_installs
|
|
|
|
#访问私有方法 -fno-access-control
|
|
QMAKE_CXXFLAGS += -g -Wall -fprofile-arcs -ftest-coverage -fno-access-control -O0 -fno-inline
|