summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2025-08-05 19:58:31 +0200
committerLywx <kiritodev01@gmail.com>2025-08-06 09:16:54 -0600
commit0dcc2d6093d5db1f1e5710bed7db7b434ffedf6d (patch)
tree35ffac169070f206dbd94416846b034e7e91f2f1 /CMakeLists.txt
parent125b0afdbf45c96360d54a9b8f385cffc962672a (diff)
Update CMakeLists.txt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6d14838..b18c2e2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -116,7 +116,7 @@ if (BUILD_STORMLIB)
add_definitions(-DUSE_STORMLIB)
endif()
-if(NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC" OR NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
+if(NOT MSVC)
set(CMAKE_CXX_FLAGS_DEBUG "-g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
set(CMAKE_CXX_FLAGS "-Wno-narrowing")