forked from mirror/OpenTTD
Fix: [CMake] remove cpack warning on fedora when lsb_release exists (#10437)
This commit is contained in:
@@ -173,6 +173,10 @@ elseif(UNIX)
|
||||
|
||||
set(CPACK_GENERATOR "DEB")
|
||||
include(PackageDeb)
|
||||
elseif(LSB_RELEASE_ID STREQUAL "Fedora")
|
||||
set(PLATFORM "fedora")
|
||||
set(CPACK_GENERATOR "RPM")
|
||||
include(PackageRPM)
|
||||
else()
|
||||
set(UNSUPPORTED_PLATFORM_NAME "LSB-based Linux distribution '${LSB_RELEASE_ID}'")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user