~nickbp/soundview

dc300c17cf6b98600d1086dee9c387c16ed9ec89 — Nicholas Parker 5 years ago da30c23 main
Fix backward flags
1 files changed, 2 insertions(+), 2 deletions(-)

M CMakeLists.txt
M CMakeLists.txt => CMakeLists.txt +2 -2
@@ 64,9 64,9 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL Clang)
  set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL Intel)
  if(WIN32)
    set(CMAKE_CXX_FLAGS "/Qstd=c++11 -diag-enable sc")
    set(CMAKE_CXX_FLAGS "/Qstd=c++11 /Qdiag-enable sc")
  else()
    set(CMAKE_CXX_FLAGS "-std=c++11 /Qdiag-enable:sc")
    set(CMAKE_CXX_FLAGS "-std=c++11 -diag-enable:sc")
  endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL MSVC)
  set(CMAKE_CXX_FLAGS "/Wall")