From 833b2fbf1d14b6d85b97ddeb3ae830f1988ae2c2 Mon Sep 17 00:00:00 2001 From: Wouter Date: Sun, 12 Jan 2020 01:28:39 +0100 Subject: [PATCH] Fix Werror always being enabled --- desktop_version/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop_version/CMakeLists.txt b/desktop_version/CMakeLists.txt index 5249028d..e6157983 100644 --- a/desktop_version/CMakeLists.txt +++ b/desktop_version/CMakeLists.txt @@ -124,9 +124,9 @@ IF(ENABLE_WARNINGS) # Saves quite a few lines and boilerplate at the price of readability. TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE $<$,$,$>: - -Wall $<$:-Werror>> + -Wall $<$:-Werror>> $<$: - /W4 $<$:/WX>>) + /W4 $<$:/WX>>) ENDIF() # Library information