mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- Corrected the revision_check target so that it always checks the revision,
not just when src/svnrevision.h is not present. SVN r1093 (trunk)
This commit is contained in:
parent
de5d4715c2
commit
2ce3e1dd6a
2 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,6 @@
|
|||
July 24, 2008
|
||||
- Correct the revision_check target so that it always checks the revision,
|
||||
not just when src/svnrevision.h is not present.
|
||||
- Added Linux support for the CMakeLists. This meant downgrading them for
|
||||
CMake 2.4, since the distros don't seem to consider 2.6 stable yet.
|
||||
As a bonus, GTK+ is no longer a required dependency; now it's optional.
|
||||
|
|
|
@ -256,14 +256,11 @@ endif( NOT MSVC )
|
|||
|
||||
# Update svnrevision.h
|
||||
|
||||
add_custom_command( OUTPUT ${CMAKE_SOURCE_DIR}/src/svnrevision.h
|
||||
add_custom_target( revision_check ALL
|
||||
COMMAND ${CMAKE_BINARY_DIR}/tools/updaterevision/updaterevision . src/svnrevision.h
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
DEPENDS updaterevision )
|
||||
|
||||
add_custom_target( revision_check ALL
|
||||
DEPENDS ${CMAKE_SOURCE_DIR}/src/svnrevision.h )
|
||||
|
||||
# Libraries ZDoom needs
|
||||
|
||||
set( ZDOOM_LIBS ${ZDOOM_LIBS} "${ZLIB_LIBRARIES}" "${JPEG_LIBRARIES}" "${FMOD_LIBRARY}" )
|
||||
|
|
Loading…
Reference in a new issue