diff --git a/CMakeLists.txt b/CMakeLists.txt index b5c7db0..64380f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ option(BPG_USE_JCTVC_HIGH_BIT_DEPTH "Enable it to use bit depths > 12 (need more find_package(PNG REQUIRED) find_package(JPEG REQUIRED) -if (BGP_USE_BPGVIEW) +if (BPG_USE_BPGVIEW) find_package(SDL REQUIRED) find_package(SDL_image REQUIRED) endif() @@ -96,7 +96,7 @@ if (BPG_USE_X265) target_compile_definitions(bpgenc PRIVATE USE_X265) endif() -if (BGP_USE_BPGVIEW) +if (BPG_USE_BPGVIEW) add_executable(bpgview bpgview.c )