diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-08-05 19:58:31 +0200 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-08-06 09:16:54 -0600 |
| commit | 0dcc2d6093d5db1f1e5710bed7db7b434ffedf6d (patch) | |
| tree | 35ffac169070f206dbd94416846b034e7e91f2f1 | |
| parent | 125b0afdbf45c96360d54a9b8f385cffc962672a (diff) | |
Update CMakeLists.txt
| -rw-r--r-- | CMakeLists.txt | 2 |
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") |
