CMake: fix build of FreeBSD

This commit is contained in:
李通洲
2025-06-02 19:15:14 +08:00
parent d60b2ddfd4
commit 1f967849e5
+1
View File
@@ -1968,6 +1968,7 @@ if(LINUX)
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
endif()
elseif(FreeBSD)
set(CPACK_FREEBSD_PACKAGE_LICENSE "MIT")
set(CPACK_GENERATOR "${CPACK_GENERATOR};FREEBSD")
endif()