- Set CMAKE_C_STANDARD to 90 Because of this, moved some declarations to start of the block - Move PROFILE_ENABLE and MD5_DISABLE to specific targets as these macros are not used when building libraries Bug: 242076773 Test: Builds Change-Id: Icd0b8a48f015a695185ce2220800348f7a7512f1
2 lines
150 B
CMake
2 lines
150 B
CMake
libavc_add_executable(avcdec libavcdec SOURCES ${AVC_ROOT}/test/decoder/main.c)
|
|
target_compile_definitions(avcdec PRIVATE PROFILE_ENABLE MD5_DISABLE)
|