cmake: Add option to build hardware HEVC encoders

Allows the ability to enable HEVC encoders whenever we add them.
Disabled by default for now for obvious reasons.
master
Jim 2022-04-22 17:35:30 -07:00
parent 84e6d77ad5
commit 3883c9e120
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ if(NOT CMAKE_BUILD_TYPE)
endif()
# Global project options
option(ENABLE_HEVC "Enable HEVC encoders" OFF)
option(BUILD_FOR_DISTRIBUTION "Build for distribution (enables optimisations)"
OFF)
option(ENABLE_UI "Enable building with UI (requires Qt)" ON)

View File

@ -15,3 +15,4 @@
#endif
#define ENABLE_FFMPEG_LOGGING @ENABLE_FFMPEG_LOGGING@
#define ENABLE_HEVC @ENABLE_HEVC@