X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=release.cmake;h=44b16eb861c0a17f7436ccc7bb04a061e16a76d0;hp=b8b4036e8f25ce2004e2983c75f879c4c733058a;hb=c9d3046d7ed2bcc66bf019a84d20442fd2c18510;hpb=8d73b1dcef03cb43c24244c62a72c44e415be067 diff --git a/release.cmake b/release.cmake index b8b4036e..44b16eb8 100644 --- a/release.cmake +++ b/release.cmake @@ -9,9 +9,9 @@ add_custom_target(release) string(TIMESTAMP stamp "%Y%m%d") string(TIMESTAMP filestamp "%Y-%m-%d") -file(STRINGS data/xonotic-data.pk3dir/defaultXonotic.cfg _contents REGEX "^gameversion ") +file(STRINGS data/xonotic-data.pk3dir/xonotic-common.cfg _contents REGEX "^gameversion ") if (NOT _contents) - message(FATAL_ERROR "defaultXonotic.cfg does not contain gameversion") + message(FATAL_ERROR "xonotic-common.cfg does not contain gameversion") else () string(REGEX REPLACE ".*gameversion ([0-9]+).*" "\\1" versionstr "${_contents}") math(EXPR versionstr_major "${versionstr} / 10000") @@ -67,10 +67,6 @@ if (0) getbinary(Xonotic/Xonotic.app/Contents/MacOS/xonotic-osx-sdl-bin) # +x getbinary(Xonotic/xonotic-osx-dedicated) # +x - getbinary(Xonotic/xonotic-linux32-sdl) # +x - getbinary(Xonotic/xonotic-linux32-glx) # +x - getbinary(Xonotic/xonotic-linux32-dedicated) # +x - getbinary(Xonotic/xonotic-linux64-sdl) # +x getbinary(Xonotic/xonotic-linux64-glx) # +x getbinary(Xonotic/xonotic-linux64-dedicated) # +x