- 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:
Randy Heit 2008-07-25 01:41:31 +00:00
parent de5d4715c2
commit 2ce3e1dd6a
2 changed files with 3 additions and 4 deletions

View file

@ -1,4 +1,6 @@
July 24, 2008 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 - 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. 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. As a bonus, GTK+ is no longer a required dependency; now it's optional.

View file

@ -256,14 +256,11 @@ endif( NOT MSVC )
# Update svnrevision.h # 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 COMMAND ${CMAKE_BINARY_DIR}/tools/updaterevision/updaterevision . src/svnrevision.h
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
DEPENDS updaterevision ) DEPENDS updaterevision )
add_custom_target( revision_check ALL
DEPENDS ${CMAKE_SOURCE_DIR}/src/svnrevision.h )
# Libraries ZDoom needs # Libraries ZDoom needs
set( ZDOOM_LIBS ${ZDOOM_LIBS} "${ZLIB_LIBRARIES}" "${JPEG_LIBRARIES}" "${FMOD_LIBRARY}" ) set( ZDOOM_LIBS ${ZDOOM_LIBS} "${ZLIB_LIBRARIES}" "${JPEG_LIBRARIES}" "${FMOD_LIBRARY}" )