set DEPTH in root CMake for consistency

This commit is contained in:
Philippe G
2021-03-28 14:59:07 -07:00
parent 22c2044f17
commit 43aa62ac56
2 changed files with 3 additions and 4 deletions

View File

@@ -31,10 +31,6 @@ set_source_files_properties(flac.c
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DCUSTOM_VERSION=${BUILD_NUMBER})
if(NOT DEFINED DEPTH)
set(DEPTH "16")
endif()
if (${DEPTH} EQUAL "32")
add_definitions(-DBYTES_PER_FRAME=8)
else()