All: Fix fresh build

This commit is contained in:
Jeffrey Pfau 2015-07-12 16:10:48 -07:00
parent 817f1573d3
commit 8a66ee0d56
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ add_custom_target(version-info ALL ${CMAKE_COMMAND} -E touch ${CMAKE_SOURCE_DIR}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
include(${CMAKE_SOURCE_DIR}/version.cmake)
configure_file(${CMAKE_SOURCE_DIR}/src/util/version.c.in ${CMAKE_CURRENT_BINARY_DIR}/version.c)
list(APPEND UTIL_SRC ${CMAKE_BINARY_DIR}/version.c)
source_group("Generated sources" FILES ${CMAKE_BINARY_DIR}/version.c)