mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-29 01:55:17 +00:00
Allow the CMake user to provide their own version string
This will be useful for downstream packagers, as well as rgbds-live
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ add_library(common OBJECT
|
||||
"util.cpp"
|
||||
"version.cpp"
|
||||
)
|
||||
target_compile_definitions(common PRIVATE "BUILD_VERSION_STRING=\"${GIT_REV}\"")
|
||||
target_compile_definitions(common PRIVATE "BUILD_VERSION_STRING=\"${RGBDS_VERSION_STRING}\"")
|
||||
|
||||
find_package(BISON 3.0.0 REQUIRED)
|
||||
# BISON 4.0 deprecates passing this BISON_FLAGS string to `bison_target`'s `COMPILE_FLAGS`,
|
||||
|
||||
Reference in New Issue
Block a user