Revert "Linux: Stop GCC complaining about deprecated functions in target llimagej2coj"

This reverts commit e860d7ab59.
master
Pork Chop 2023-02-05 18:34:46 +11:00
parent e860d7ab59
commit f41d6250ac
1 changed files with 0 additions and 6 deletions

View File

@ -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})
# <FS:PC> 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}