aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-02-05 19:01:05 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-02-05 19:01:05 +0000
commit184ab1934776308a006e95bdc38333d71952a516 (patch)
tree45c1b1bacac0126154016f1684acc3130d1668ce
parent339f98743f4621ce092d5c4f530bf31a47e862e1 (diff)
downloadextra-cmake-modules-184ab1934776308a006e95bdc38333d71952a516.tar.gz
extra-cmake-modules-184ab1934776308a006e95bdc38333d71952a516.tar.bz2
-fix the generation of the la-files for out-of-source builds
-fix the klockfile test Alex svn path=/trunk/KDE/kdelibs/; revision=506092
-rw-r--r--modules/KDE4Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake
index 9a4858c1..322fec7e 100644
--- a/modules/KDE4Macros.cmake
+++ b/modules/KDE4Macros.cmake
@@ -376,7 +376,7 @@ MACRO(KDE4_CREATE_LIBTOOL_FILE _target)
GET_FILENAME_COMPONENT(_laname ${_target_location} NAME_WE)
GET_FILENAME_COMPONENT(_soname ${_target_location} NAME)
- SET(_laname ${_laname}.la)
+ SET(_laname ${LIBRARY_OUTPUT_PATH}/${_laname}.la)
FILE(WRITE ${_laname} "# ${_laname} - a libtool library file, generated by cmake \n")
FILE(APPEND ${_laname} "# The name that we can dlopen(3).\n")