cmake: Define ENABLE_HEVC globally if set
parent
165a513f78
commit
53f4bf3430
|
@ -33,6 +33,9 @@ endif()
|
|||
|
||||
# Global project options
|
||||
option(ENABLE_HEVC "Enable HEVC encoders" OFF)
|
||||
if(ENABLE_HEVC)
|
||||
add_compile_definitions(ENABLE_HEVC)
|
||||
endif()
|
||||
option(BUILD_FOR_DISTRIBUTION "Build for distribution (enables optimisations)"
|
||||
OFF)
|
||||
option(ENABLE_UI "Enable building with UI (requires Qt)" ON)
|
||||
|
|
Loading…
Reference in New Issue