projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22c1426
)
Find genversion.exe on Wintendo. Fixes BR #306, thanks to Hydrogen and SaroEngels!
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 1 Sep 2008 22:04:24 +0000
(
00:04
+0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 1 Sep 2008 22:04:24 +0000
(
00:04
+0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
04aa07a
..
af3f3a3
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-164,7
+164,8
@@
endif(WITH_DBUS)
add_executable(genversion ${CMAKE_SOURCE_DIR}/src/common/genversion.cpp)
target_link_libraries(genversion ${QT_LIBRARIES} ${QT_CORE_LIB_DEPENDENCIES})
-add_custom_target(genversion_run ALL ${CMAKE_BINARY_DIR}/genversion
+get_target_property(GENVERSION_EXECUTABLE genversion LOCATION)
+add_custom_target(genversion_run ALL ${GENVERSION_EXECUTABLE}
${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}/src/common/version.gen)
add_dependencies(genversion_run genversion)