aboutsummaryrefslogtreecommitdiff
path: root/am2cmake
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-02-07 11:16:32 +0000
committerLaurent Montel <montel@kde.org>2006-02-07 11:16:32 +0000
commit455902e5dc8299b22fa6087f8fc2d756146f8515 (patch)
tree6fcedf604bd01aa1b8233c9cb4afd1810b27b3bb /am2cmake
parent59b48b4798e6a65b4dfd3d2f54a7fa9d812d641a (diff)
downloadextra-cmake-modules-455902e5dc8299b22fa6087f8fc2d756146f8515.tar.gz
extra-cmake-modules-455902e5dc8299b22fa6087f8fc2d756146f8515.tar.bz2
Now we can install .la lib into good directory
before it installed la lib just in /usr/lib/kde4 svn path=/trunk/KDE/kdelibs/; revision=506638
Diffstat (limited to 'am2cmake')
-rwxr-xr-xam2cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/am2cmake b/am2cmake
index 8fb12f0f..e6518e8e 100755
--- a/am2cmake
+++ b/am2cmake
@@ -850,8 +850,12 @@ class CMakeFile
elsif buildTarget.type==Part
if buildTarget.stdPrefix
file.printf("kde4_add_plugin(%s WITH_PREFIX ${%s})\n\n", buildTarget.name, srcsName)
+
+kde4_create_libtool_file( / )
else
file.printf("kde4_add_plugin(%s ${%s})\n\n", buildTarget.name, srcsName)
+
+kde4_create_libtool_file( / )
end
file.printf("target_link_libraries(%s ", buildTarget.name)
buildTarget.libs.each { |currentLib| file.printf(" %s", currentLib) }