aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-03-04 22:56:55 +0100
committerStephen Kelly <steveire@gmail.com>2012-03-04 22:57:17 +0100
commit297ddcbf0b9d670b96524df8802ecae95704040e (patch)
tree12e387a6c19df8abc8158b747d426e5bc79f3e57
parent1990614dac474471c46389f24d5f172b9139f979 (diff)
downloadextra-cmake-modules-297ddcbf0b9d670b96524df8802ecae95704040e.tar.gz
extra-cmake-modules-297ddcbf0b9d670b96524df8802ecae95704040e.tar.bz2
Generate the version file in the project binary dir.
-rw-r--r--modules/ECMQtFramework.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ECMQtFramework.cmake b/modules/ECMQtFramework.cmake
index 4e44fe17..482b922d 100644
--- a/modules/ECMQtFramework.cmake
+++ b/modules/ECMQtFramework.cmake
@@ -166,5 +166,5 @@ string(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPER)
configure_file(
"${CMAKE_CURRENT_LIST_DIR}/ECMVersionHeader.h.in"
- "${CMAKE_BINARY_DIR}/${PROJECT_NAME}_version.h"
+ "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}_version.h"
)