From 5f73c3906fb67a93fae2037fbe99a147ff782939 Mon Sep 17 00:00:00 2001 From: Idhrendur Date: Sun, 12 Jan 2025 14:36:02 -0800 Subject: [PATCH] Try again. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 971d678..b7b76ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ if (PLATFORM STREQUAL "Windows") target_compile_options(commonLib PRIVATE /permissive /W4 /w14242 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14619 /w14640 /w14826 /w14905 /w14906 /w14928 /external:anglebrackets /external:W0 /WX) elseif (PLATFORM STREQUAL "Linux") - target_compile_options(commonLib -Wno-unknown-pragmas) + target_compile_options(commonLib -Wno-deprecated-declarations) endif (PLATFORM STREQUAL "Windows") set(tests @@ -107,7 +107,7 @@ if (PLATFORM STREQUAL "Windows") target_compile_options(${PROJECT_NAME} PRIVATE /permissive /W4 /w14242 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14619 /w14640 /w14826 /w14905 /w14906 /w14928 /external:anglebrackets /external:W0 /WX) elseif (PLATFORM STREQUAL "Linux") - target_compile_options(${PROJECT_NAME} -Wno-unknown-pragmas) + target_compile_options(${PROJECT_NAME} -Wno-deprecated-declarations) endif (PLATFORM STREQUAL "Windows") ################################################################################