CMakeLists.txt

changeset 1431
2e0e2c696605
parent 1430
6ce6d3da584f
child 1432
4cc687851fbb
equal deleted inserted replaced
1430:6ce6d3da584f 1431:2e0e2c696605
24 set (CMAKE_AUTOMOC ON) 24 set (CMAKE_AUTOMOC ON)
25 25
26 find_package (OpenGL REQUIRED) 26 find_package (OpenGL REQUIRED)
27 27
28 add_custom_target (revision_check ALL 28 add_custom_target (revision_check ALL
29 COMMAND python "${CMAKE_SOURCE_DIR}/tools/updaterevision.py" hginfo.h 29 COMMAND python3 "${CMAKE_SOURCE_DIR}/tools/updaterevision.py" --cwd "$(CMAKE_SOURCE_DIR)" hginfo.h
30 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) 30 WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
31 31
32 include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) 32 include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
33 33
34 set_source_files_properties (${CMAKE_BINARY_DIR}/configuration.cpp PROPERTIES GENERATED TRUE) 34 set_source_files_properties (${CMAKE_BINARY_DIR}/configuration.cpp PROPERTIES GENERATED TRUE)

mercurial