aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-12-21 11:41:45 -0800
committerChris Robinson <[email protected]>2016-12-21 11:41:45 -0800
commit1b104dd77baeb6d991ec2ff279c87e6e46527d44 (patch)
treee9e6464bdc6053bb046a81fb5b359753667f1023 /utils
parente270a9784bdacecedb98312a4e2e9ef75ef7df62 (diff)
More robustly generate the git commit ID and branch
Diffstat (limited to 'utils')
-rw-r--r--utils/alsoft-config/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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}