diff options
| author | click <none@none> | 2010-06-25 19:13:14 +0200 |
|---|---|---|
| committer | click <none@none> | 2010-06-25 19:13:14 +0200 |
| commit | 06cd5563b6d756a0ef774864e5bfebfe69fb2594 (patch) | |
| tree | ddd0988284530ea536252117faa41d723f3415df | |
| parent | 09cde730723a7d3774c2d218403f7c78f356a207 (diff) | |
Use the correct CMake-variable for where to place the generated revision.h file (whops)
--HG--
branch : trunk
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 27e8167bdbb..d0c4eb18e9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,7 +101,7 @@ if( DO_DEBUG ) add_custom_target("revision.h" ALL COMMAND "${CMAKE_BINARY_DIR}/genrev" ${CMAKE_SOURCE_DIR} - WORKING_DIRECTORY "${CMAKE_BUILD_DIR}" + WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" DEPENDS genrev ) else() @@ -112,7 +112,7 @@ else() add_custom_target("revision.h" ALL COMMAND "${CMAKE_BINARY_DIR}/genrev" ${CMAKE_SOURCE_DIR} - WORKING_DIRECTORY "${CMAKE_BUILD_DIR}" + WORKING_DIRECTORY "${CMAKE_BINARY_DIR}" DEPENDS genrev ) endif() |
