mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 03:00:08 +00:00
Fix wesnoth-revision target dependency changed in 553cacd88ee
This commit is contained in:
parent
6765db5431
commit
5b8bb4f482
1
.github/workflows/codeql.yml
vendored
1
.github/workflows/codeql.yml
vendored
@ -50,7 +50,6 @@ jobs:
|
||||
- name: Install dependencies
|
||||
if: matrix.language == 'cpp'
|
||||
run: |
|
||||
utils/autorevision.sh -t h > src/revision.h
|
||||
sudo apt update
|
||||
sudo apt install scons libboost-system1.83-dev libboost-filesystem1.83-dev libboost-iostreams1.83-dev \
|
||||
libboost-serialization1.83-dev libboost-locale1.83-dev libboost-regex1.83-dev libboost-random1.83-dev \
|
||||
|
@ -102,7 +102,7 @@ endif()
|
||||
# Depending on the flag create a real file or an empty dummy.
|
||||
#
|
||||
# Since the code is executed every build run of Wesnoth we need to make sure
|
||||
# that no modifications don't turn into a rebuild. Therefore a the dummy is
|
||||
# that no modifications don't turn into a rebuild. Therefore a dummy is
|
||||
# created and the second target only copies the file if modified.
|
||||
if(ENABLE_DISPLAY_REVISION)
|
||||
add_custom_target(wesnoth-revision_dummy
|
||||
@ -238,7 +238,7 @@ if(ENABLE_GAME)
|
||||
endif()
|
||||
|
||||
if(ENABLE_DISPLAY_REVISION)
|
||||
add_dependencies(wesnoth wesnoth-revision)
|
||||
add_dependencies(wesnoth-common wesnoth-revision) # game_version.cpp, where LOAD_REVISION is used, is in wesnoth-common
|
||||
endif()
|
||||
|
||||
set_target_properties(wesnoth PROPERTIES OUTPUT_NAME ${BINARY_PREFIX}wesnoth${BINARY_SUFFIX})
|
||||
|
Loading…
x
Reference in New Issue
Block a user