cmake
file(STRINGS src/game/version.h VERSION_LINE
LIMIT_COUNT 1
REGEX GAME_RELEASE_VERSION
)
this breaks out of tree builds (which are the default for most packaging systems, I believe), because there's no src/game/version.h
in the build directory. You cannot use PROJECT_SOURCE_DIR
either because project is defined latter and it needs version defined. I've hacked it temporary by using CMAKE_CURRENT_SOURCE_DIR
, h...