aboutsummaryrefslogtreecommitdiff
path: root/am2cmake
diff options
context:
space:
mode:
Diffstat (limited to 'am2cmake')
-rwxr-xr-xam2cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/am2cmake b/am2cmake
index 611b50e1..091b27c8 100755
--- a/am2cmake
+++ b/am2cmake
@@ -850,10 +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)
- file.printf("kde4_create_libtool_file( %s /kde4/ )\n\n", buildTarget.name)
+ file.printf("kde4_install_libtool_file( ${KDE4_PLUGIN_INSTALL_DIR} %s )\n\n", buildTarget.name)
else
file.printf("kde4_add_plugin(%s ${%s})\n\n", buildTarget.name, srcsName)
- file.printf("kde4_create_libtool_file( %s /kde4/ )\n\n", buildTarget.name)
+ file.printf("kde4_install_libtool_file( ${KDE4_PLUGIN_INSTALL_DIR} %s )\n\n", buildTarget.name)
end
file.printf("target_link_libraries(%s ", buildTarget.name)
buildTarget.libs.each { |currentLib| file.printf(" %s", currentLib) }