From f466c089c4d913a2abba29db657342b2615a9cdf Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Thu, 1 Feb 2024 20:21:53 +0100 Subject: [PATCH] cmake: and don't do -Werror/-WX anymore --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 148b1209..eb509e5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,14 +64,6 @@ option(ISLE_USE_SMARTHEAP "Build with SmartHeap" ${MSVC_FOR_DECOMP}) option(ISLE_USE_DX5 "Build with internal DirectX 5 SDK" ON) cmake_dependent_option(ISLE_USE_DX5_LIBS "Build with internal DirectX 5 SDK Libraries" ON ISLE_USE_DX5 OFF) -if(ISLE_WERROR) - if(MSVC) - add_compile_options(-WX) - else() - add_compile_options(-Werror) - endif() -endif() - add_cxx_warning(parentheses) add_library(DirectX5::DirectX5 INTERFACE IMPORTED)