From 46082d46e89aa63349e02dd9ea5106d592a1aedb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20H=C3=A4rnqvist?= <ivaha717@student.liu.se> Date: Tue, 25 Feb 2020 00:06:41 +0100 Subject: [PATCH] remove bad compiler flags --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c2381e4d..8ba064fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,12 +51,12 @@ target_compile_options( $<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>>: -W -Wall -Wextra -Werror -Wno-psabi $<$<CONFIG:Debug>:-g> - $<$<NOT:$<CONFIG:Debug>>:-O3 -flto> + $<$<NOT:$<CONFIG:Debug>>:-O3> > $<$<CXX_COMPILER_ID:MSVC>: - /W3 /WX /permissive- /utf-8 /bigobj + /W3 /WX /permissive- /utf-8 $<$<CONFIG:Debug>:/Od> - $<$<NOT:$<CONFIG:Debug>>:/Ot /GL /LTCG> + $<$<NOT:$<CONFIG:Debug>>:/Ot> > ) -- GitLab