aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xam2cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/am2cmake b/am2cmake
index e6518e8e..3d11a880 100755
--- a/am2cmake
+++ b/am2cmake
@@ -850,12 +850,10 @@ 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( / )
+ file.printf("kde4_create_libtool_file( %s / )\n\n", buildTarget.name)
else
file.printf("kde4_add_plugin(%s ${%s})\n\n", buildTarget.name, srcsName)
-
-kde4_create_libtool_file( / )
+ file.printf("kde4_create_libtool_file( %s / )\n\n", buildTarget.name)
end
file.printf("target_link_libraries(%s ", buildTarget.name)
buildTarget.libs.each { |currentLib| file.printf(" %s", currentLib) }