From 7c83033899b9b1cad652ca54c517392027e00f36 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Fri, 24 Sep 2010 00:30:25 +0200 Subject: [PATCH] Build with -DQT_NO_STL. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c02fec6c..29e47ff2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ option(WITH_TESTS "Enable building of unit tests" ON) set( KEEPASSX_VERSION "0.9.0" ) if(CMAKE_COMPILER_IS_GNUCXX) - add_definitions(-DQT_NO_KEYWORDS -DQT_NO_EXCEPTIONS -fno-exceptions -fno-rtti + add_definitions(-DQT_NO_KEYWORDS -DQT_NO_EXCEPTIONS -DQT_NO_STL -fno-exceptions -fno-rtti -ansi -Wall -Wextra -Wundef -Wold-style-cast -Wnon-virtual-dtor -Wcast-align -Wpointer-arith -Wformat-security -Woverloaded-virtual -Wno-long-long)