Specify the macOS compatibility version to make it a drop-in replacement for the libtool built

This commit is contained in:
Martin Storsjo 2021-04-28 15:31:57 +03:00
parent b0789a3438
commit 9e8181c03b
1 changed files with 3 additions and 1 deletions

View File

@ -488,7 +488,9 @@ target_link_libraries(fdk-aac PRIVATE $<$<BOOL:${HAVE_LIBM}>:m>)
set_target_properties(fdk-aac PROPERTIES set_target_properties(fdk-aac PROPERTIES
PUBLIC_HEADER "${fdk_aacinclude_HEADERS}" PUBLIC_HEADER "${fdk_aacinclude_HEADERS}"
VERSION 2.0.1 VERSION 2.0.1
SOVERSION 2) SOVERSION 2
MACHO_COMPATIBILITY_VERSION 3.0.0
MACHO_CURRENT_VERSION 3.1.0)
### Some compiler options from Makefile.am ### Some compiler options from Makefile.am
if(MSVC) if(MSVC)