From bf34d20ceade0eaa9dde1fd2228ae6b33005acbc Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Wed, 10 Jan 2024 15:33:04 +0100 Subject: [PATCH] Only do decomp assertions when using older MSVC compilers --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67fed189..e1cc475a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -325,7 +325,7 @@ if (MSVC) endif() endif() -if (MSVC_FOR_DECOMP OR MINGW) +if (MSVC_FOR_DECOMP) target_compile_definitions(lego1 PRIVATE "ENABLE_DECOMP_ASSERTS") if (ISLE_BUILD_APP) target_compile_definitions(isle PRIVATE "ENABLE_DECOMP_ASSERTS")