cmake: Fix FreeDesktop specification version (hint: it's not the project version)

This commit is contained in:
a dinosaur 2020-04-04 19:01:22 +11:00
parent 1ac67a54d7
commit 022961dbf5
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 3.1)
project(DobieStation
VERSION 0.1.0)
project(DobieStation)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
string(REPLACE "-O3" "-O2" CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}") # fix Release build

View file

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
Version=@PROJECT_VERSION@
Version=1.1
Name=DobieStation
GenericName=PlayStation 2 Emulator
Comment=A dog-themed PS2 emulator