summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kbruch/CMakeLists.txt2
-rw-r--r--kig/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/kbruch/CMakeLists.txt b/kbruch/CMakeLists.txt
index 192ddd69..bea4ba49 100644
--- a/kbruch/CMakeLists.txt
+++ b/kbruch/CMakeLists.txt
@@ -3,6 +3,6 @@ add_subdirectory( testcases )
file( STRINGS "VERSION" _KBRUCH_VERSION )
-file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/src/version.h
+file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/src/version.h
"#undef KBRUCH_VERSION\n#define KBRUCH_VERSION \"${_KBRUCH_VERSION}\""
)
diff --git a/kig/CMakeLists.txt b/kig/CMakeLists.txt
index 1fd286ab..d1365c12 100644
--- a/kig/CMakeLists.txt
+++ b/kig/CMakeLists.txt
@@ -28,7 +28,7 @@ link_directories(
##### libkigpart (kpart)
-file( WRITE dummy.cpp "" )
+file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "" )
tde_add_kpart( libkigpart AUTOMOC