From 1b104dd77baeb6d991ec2ff279c87e6e46527d44 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 21 Dec 2016 11:41:45 -0800 Subject: More robustly generate the git commit ID and branch --- utils/alsoft-config/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/alsoft-config/CMakeLists.txt') diff --git a/utils/alsoft-config/CMakeLists.txt b/utils/alsoft-config/CMakeLists.txt index 578273a5..6d7be8be 100644 --- a/utils/alsoft-config/CMakeLists.txt +++ b/utils/alsoft-config/CMakeLists.txt @@ -21,6 +21,9 @@ if(QT4_FOUND) target_link_libraries(alsoft-config ${QT_LIBRARIES}) set_property(TARGET alsoft-config APPEND PROPERTY COMPILE_FLAGS ${EXTRA_CFLAGS}) set_target_properties(alsoft-config PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${OpenAL_BINARY_DIR}) + if(TARGET version) + add_dependencies(alsoft-config version) + endif() install(TARGETS alsoft-config RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -- cgit v1.2.3