From cf46a70c5cc373e23ea2075c2a2fb0e41cfffe96 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sat, 11 Feb 2006 20:19:59 +0000 Subject: -changed kde4_create_libtool_file (target dir_relative_to_libdir) to kde4_install_libtool_file(dir_relative_to_install_prefix target) -added variable KDE4_PLUGIN_INSTALL_DIR, used usually for installing plugins -changed am2cmake accordingly -edited FindLibXml2.cmake and FindLibArt so that they work correctly with CMAKE_INSTALL_PATH -changed generated_findpackage_file accordingly -some minor formatting changes Alex CCMAIL: montel@kde.org svn path=/trunk/KDE/kdelibs/; revision=508458 --- am2cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'am2cmake') 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) } -- cgit v1.2.1