From 425a0dc56601b89fbfd1592c5147fef72d3c3ce4 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Wed, 9 Mar 2022 21:24:01 +0400 Subject: [PATCH] libjpeg is a required dependency now --- external/jpeg/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/jpeg/CMakeLists.txt b/external/jpeg/CMakeLists.txt index 5ed56cfb..a52635d8 100644 --- a/external/jpeg/CMakeLists.txt +++ b/external/jpeg/CMakeLists.txt @@ -8,7 +8,7 @@ add_library(external_jpeg INTERFACE IMPORTED GLOBAL) add_library(desktop-app::external_jpeg ALIAS external_jpeg) if (DESKTOP_APP_USE_PACKAGED) - find_package(JPEG) + find_package(JPEG REQUIRED) target_link_libraries(external_jpeg INTERFACE JPEG::JPEG) elseif (WIN32) target_include_directories(external_jpeg SYSTEM INTERFACE ${libs_loc}/mozjpeg)