diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |