Skip to content

Commit 7da9dc3

Browse files
committed
修复linux下10bit编译问题
1 parent 3094f1f commit 7da9dc3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ cmake_minimum_required(VERSION 2.8)
22

33
project(uAVS3)
44

5+
if(${COMPILE_10BIT})
6+
add_definitions(-DCOMPILE_10BIT=1)
7+
else()
8+
add_definitions(-DCOMPILE_10BIT=0)
9+
endif()
10+
511
add_subdirectory(uAVS3lib)
612

713
add_executable(uAVS3 ./utest.c)

0 commit comments

Comments
 (0)