diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-01-14 20:15:30 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-01-14 20:15:30 +0000 |
commit | f2586846661fd2ef1a999765108298ca41b57256 (patch) | |
tree | 54fb8544e8e44ef95611133af243b3d397714364 /am2cmake | |
parent | df94ff6bfb0fc72d39ef37dba00db3f67c75ad22 (diff) | |
download | extra-cmake-modules-f2586846661fd2ef1a999765108298ca41b57256.tar.gz extra-cmake-modules-f2586846661fd2ef1a999765108298ca41b57256.tar.bz2 |
-simple cmake modules for detecting libart, OpenSSL, FAM, jasper and PCRE
-major improvement of am2cmake: add libtool .la files found in LIBADD to TARGET_LINK_LIBRARIES and fix the loop for adding the libs
Alex
svn path=/trunk/KDE/kdesdk/cmake/; revision=498154
Diffstat (limited to 'am2cmake')
-rwxr-xr-x | am2cmake | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -84,16 +84,18 @@ class BuildTarget else if currentLib =~ /^-l(\S+)$/ $1 + elsif currentLib =~ /^.+\/lib(\w+)\.la$/ + $1 else "" end end - end - if !lib.empty? - @libs.push(lib) -# printf("--- lib: #{lib}\n") + if !lib.empty? + @libs.push(lib) + end end + end @@ -363,7 +365,7 @@ class CMakeFile return end -# printf("target: #{buildTarget.name} lib: #{$2} line: #{line} d1: #{$1}\n") +# $stderr.printf("target: #{buildTarget.name} lib: #{$2} line: #{line} d1: #{$1}\n") buildTarget.addLibs($2) end return |