2
0
mirror of https://github.com/rehlds/revoice.git synced 2025-03-03 17:15:25 +03:00

Enable LTO for silk codec on Linux

This commit is contained in:
the_hunter 2025-02-24 15:41:42 +02:00
parent e927c2bcb5
commit c53cff1cc7

View File

@ -193,21 +193,6 @@ target_include_directories("${TARGET_NAME}"
"${PROJECT_SOURCE_DIR}/include/silk"
)
#-------------------------------------------------------------------------------
# Target Properties
#-------------------------------------------------------------------------------
if(NOT WIN32)
set_target_properties("${TARGET_NAME}"
PROPERTIES
# Disable IPO as it causes some warnings
INTERPROCEDURAL_OPTIMIZATION OFF
INTERPROCEDURAL_OPTIMIZATION_MINSIZEREL OFF
INTERPROCEDURAL_OPTIMIZATION_RELEASE OFF
INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO OFF
)
endif()
#-------------------------------------------------------------------------------
# Compile Options
#-------------------------------------------------------------------------------