mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
CMakeLists.txt: Use version.txt in CONFIGURE_FILE().
This isn't actually used as a configuration file, but it forces CMake to rerun if the file is changed.
This commit is contained in:
parent
7946929633
commit
567af35525
@ -3,6 +3,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
|
||||
CMAKE_POLICY(SET CMP0048 NEW)
|
||||
|
||||
# Read the project version.
|
||||
CONFIGURE_FILE(version.txt version.txt.tmp)
|
||||
FILE(STRINGS version.txt RP_VERSION_FILE)
|
||||
IF(NOT RP_VERSION_FILE)
|
||||
MESSAGE(FATAL_ERROR "version.txt not found; cannot determine project version.")
|
||||
|
Loading…
Reference in New Issue
Block a user