From 65417dd8369420e1590efec5ae494d8124731005 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sun, 29 Dec 2013 12:45:03 +0100 Subject: [PATCH] Fixed Linux configuration. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f8fc23f8..d903a56d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,7 +152,7 @@ add_subdirectory(lib/md5/) # the important warnings will be turned on using #pragma in Globals.h if (NOT MSVC) #TODO: set -Wall -Werror -Wextra - add_flags("-Wall -Wextra") + add_flags_cxx("-Wall -Wextra") endif() if (NOT WIN32)