1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-02-06 02:33:21 +01:00

cmake: Link the library as C, not C++

This matches how it is done in the autotools build. We try not to
rely on the C++ standard library, and this makes sure that this
property is maintained (even if developing with CMake).
This commit is contained in:
Martin Storsjo 2023-10-06 14:01:15 +03:00
parent 48255d057a
commit 226848a2a1

View File

@ -490,7 +490,8 @@ set_target_properties(fdk-aac PROPERTIES
VERSION 2.0.2
SOVERSION 2
MACHO_COMPATIBILITY_VERSION 3.0.0
MACHO_CURRENT_VERSION 3.2.0)
MACHO_CURRENT_VERSION 3.2.0
LINKER_LANGUAGE C)
### Some compiler options from Makefile.am
if(MSVC)