From 047411ba876463d1d47ee286b23028573f77d894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 2 Jun 2025 15:56:18 +0800 Subject: [PATCH] CMake: build FreeBSD `pkg` package --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 14e80c6b9..01e8dcfbc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1967,6 +1967,8 @@ if(LINUX) set(CPACK_RPM_PACKAGE_LICENSE "MIT") endif() +elseif(FreeBSD) + set(CPACK_GENERATOR "${CPACK_GENERATOR};FREEBSD") endif() set(CPACK_SET_DESTDIR ON)