mirror of https://github.com/mstorsjo/fdk-aac.git
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:
parent
48255d057a
commit
226848a2a1
|
@ -490,7 +490,8 @@ set_target_properties(fdk-aac PROPERTIES
|
||||||
VERSION 2.0.2
|
VERSION 2.0.2
|
||||||
SOVERSION 2
|
SOVERSION 2
|
||||||
MACHO_COMPATIBILITY_VERSION 3.0.0
|
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
|
### Some compiler options from Makefile.am
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
|
|
Loading…
Reference in New Issue