diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-19 15:06:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 15:06:53 +0100 |
commit | bfe6b49447744cea1cd941660b2a3a501a0701cb (patch) | |
tree | 371cf186395f24f98f46dba753554e8a420f039c | |
parent | 40287319002ff6ced3d280657c276fb7c9ef4df5 (diff) | |
download | rneovim-bfe6b49447744cea1cd941660b2a3a501a0701cb.tar.gz rneovim-bfe6b49447744cea1cd941660b2a3a501a0701cb.tar.bz2 rneovim-bfe6b49447744cea1cd941660b2a3a501a0701cb.zip |
build(MSVC): enable assertions on RelWithDebInfo build type (#22326)
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a608e42dab..ce29a65dde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,6 +151,7 @@ endif() # We _want_ assertions in RelWithDebInfo build-type. if(CMAKE_C_FLAGS_RELWITHDEBINFO MATCHES DNDEBUG) string(REPLACE "-DNDEBUG" "" CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}") + string(REPLACE "/DNDEBUG" "" CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}") endif() option(LOG_LIST_ACTIONS "Add list actions logging" OFF) |