diff --git a/CMakeLists.txt b/CMakeLists.txt index 35e02325f3..e33f3dc34f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,8 +92,7 @@ if(USE_COMPILE_OPTIONS) EnTT INTERFACE $<$,$>>:-O0 -g> # it seems that -O3 ruins a bit the performance when using clang ... - INTERFACE $<$,$,$>:-O2> - INTERFACE $<$,$,$>:-O2> + INTERFACE $<$,$,$,$>>:-O2> # ... on the other side, GCC is incredibly comfortable with it. INTERFACE $<$,$>:-O3> )