From f41d6250ac7fdf6a317e8720537e8563d86b9f5e Mon Sep 17 00:00:00 2001 From: Pork Chop Date: Sun, 5 Feb 2023 18:34:46 +1100 Subject: [PATCH] Revert "Linux: Stop GCC complaining about deprecated functions in target llimagej2coj" This reverts commit e860d7ab59aa715984f0407c469000bf2da01538. --- indra/llimagej2coj/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/indra/llimagej2coj/CMakeLists.txt b/indra/llimagej2coj/CMakeLists.txt index 69ec5df38e..0e487b1d66 100644 --- a/indra/llimagej2coj/CMakeLists.txt +++ b/indra/llimagej2coj/CMakeLists.txt @@ -32,12 +32,6 @@ set_source_files_properties(${llimagej2coj_HEADER_FILES} list(APPEND llimagej2coj_SOURCE_FILES ${llimagej2coj_HEADER_FILES}) add_library (llimagej2coj ${llimagej2coj_SOURCE_FILES}) - -# Stop GCC complaining about deprecated functions -if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - target_compile_options(llimagej2coj PUBLIC "-Wno-deprecated-declarations") -endif() - target_link_libraries( llimagej2coj ${OPENJPEG_LIBRARIES}