build: use linux for distro name is its no defined
This commit is contained in:
parent
b16a03c3ad
commit
40ff14473d
1 changed files with 4 additions and 0 deletions
|
|
@ -68,6 +68,10 @@ macro(configure_linux_package_name)
|
||||||
set(CN_STRING "${DISTRO_CODENAME}-")
|
set(CN_STRING "${DISTRO_CODENAME}-")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if("${DISTRO_NAME}" STREQUAL "")
|
||||||
|
set(DISTRO_NAME "linux")
|
||||||
|
endif()
|
||||||
|
|
||||||
set(OS_STRING "${DISTRO_NAME}-${CN_STRING}${CMAKE_SYSTEM_PROCESSOR}")
|
set(OS_STRING "${DISTRO_NAME}-${CN_STRING}${CMAKE_SYSTEM_PROCESSOR}")
|
||||||
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue