Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updater|Unix: Specify autoupdater platform manually
The Autobuilder has ubuntu18 and fedora23 as the available platforms.
  • Loading branch information
skyjake committed Mar 30, 2019
1 parent 062cb52 commit 185964c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doomsday/cmake/PlatformUnix.cmake
Expand Up @@ -32,10 +32,8 @@ else ()
add_definitions (-DDENG_LIBRARY_DIR="${CMAKE_INSTALL_PREFIX}/${DENG_INSTALL_PLUGIN_DIR}")
endif ()

if (CPACK_GENERATOR STREQUAL DEB)
add_definitions (-DDENG_PLATFORM_ID="ubuntu18-${DENG_ARCH}")
elseif (CPACK_GENERATOR STREQUAL RPM)
add_definitions (-DDENG_PLATFORM_ID="fedora23-${DENG_ARCH}")
if (DENG_UPDATER_PLATFORM)
add_definitions (-DDENG_PLATFORM_ID="${DENG_UPDATER_PLATFORM}-${DENG_ARCH}")
else ()
add_definitions (-DDENG_PLATFORM_ID="source")
endif ()
Expand Down

0 comments on commit 185964c

Please sign in to comment.