Skip to content

Commit

Permalink
修复linux下10bit编译问题
Browse files Browse the repository at this point in the history
  • Loading branch information
dujiangpku committed Sep 23, 2022
1 parent 3094f1f commit 7da9dc3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ cmake_minimum_required(VERSION 2.8)

project(uAVS3)

if(${COMPILE_10BIT})
add_definitions(-DCOMPILE_10BIT=1)
else()
add_definitions(-DCOMPILE_10BIT=0)
endif()

add_subdirectory(uAVS3lib)

add_executable(uAVS3 ./utest.c)
Expand Down

0 comments on commit 7da9dc3

Please sign in to comment.