<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Make it possible to build the plugins as a separate port.

--- v0.11.1/plugins/CMakeLists.txt	2025-01-04 02:10:57.000000000 +0000
+++ v0.11.1/plugins/CMakeLists.txt	2025-05-29 18:42:42.560837642 +0100
@@ -1,3 +1,15 @@
+cmake_minimum_required(VERSION 3.16...3.27)
+
+include(GNUInstallDirs)
+
+find_package(PkgConfig)
+pkg_check_modules(jxl IMPORTED_TARGET libjxl)
+add_library(jxl ALIAS PkgConfig::jxl)
+pkg_check_modules(jxl_threads IMPORTED_TARGET libjxl_threads)
+add_library(jxl_threads ALIAS PkgConfig::jxl_threads)
+
+set(PROJECT_SOURCE_DIR "${PROJECT_SOURCE_DIR}/..")
+
 # Copyright (c) the JPEG XL Project Authors. All rights reserved.
 #
 # Use of this source code is governed by a BSD-style
</pre></body></html>