libobs: Include HEVC files only if enabled
This commit is contained in:
parent
0c33069772
commit
7ed5415a2b
@ -31,8 +31,6 @@ target_sources(
|
||||
obs-encoder.c
|
||||
obs-encoder.h
|
||||
obs-ffmpeg-compat.h
|
||||
obs-hevc.c
|
||||
obs-hevc.h
|
||||
obs-hotkey.c
|
||||
obs-hotkey.h
|
||||
obs-hotkeys.h
|
||||
@ -203,6 +201,10 @@ target_sources(
|
||||
util/darray.h
|
||||
util/util.hpp)
|
||||
|
||||
if(ENABLE_HEVC)
|
||||
target_sources(libobs PRIVATE obs-hevc.c obs-hevc.h)
|
||||
endif()
|
||||
|
||||
# Contents of "data" dir already automatically added to bundles on macOS
|
||||
if(NOT OS_MACOS)
|
||||
target_sources(
|
||||
|
Loading…
x
Reference in New Issue
Block a user