aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindKDE4.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/FindKDE4.cmake b/modules/FindKDE4.cmake
index 5aca073d..d30e31f8 100644
--- a/modules/FindKDE4.cmake
+++ b/modules/FindKDE4.cmake
@@ -81,7 +81,8 @@ IF(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
IF (WIN32)
SET(KDE4_DCOPIDL_EXECUTABLE call ${CMAKE_SOURCE_DIR}/dcop/dcopidlng/dcopidl.bat )
- SET(LIBRARY_OUTPUT_PATH ${EXECUTABLE_OUTPUT_PATH} ) # create the libraries in the same directory as the executables, so the linker will find them
+ SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib )
+ # todo: copy Dlls only to ${CMAKE_BINARY_DIR}/lib
ELSE (WIN32)
SET(KDE4_DCOPIDL_EXECUTABLE ${CMAKE_SOURCE_DIR}/dcop/dcopidlng/dcopidl )
SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib )