10 find_package (OpenGL REQUIRED) |
10 find_package (OpenGL REQUIRED) |
11 |
11 |
12 get_target_property (UPDATEREVISION_EXE updaterevision LOCATION) |
12 get_target_property (UPDATEREVISION_EXE updaterevision LOCATION) |
13 |
13 |
14 add_custom_target (revision_check ALL |
14 add_custom_target (revision_check ALL |
15 COMMAND ${UPDATEREVISION_EXE} src/GitInformation.h |
15 COMMAND ${UPDATEREVISION_EXE} src/Git.h |
16 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} |
16 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} |
17 DEPENDS updaterevision) |
17 DEPENDS updaterevision) |
18 |
18 |
19 include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) |
19 include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) |
20 |
20 |