--nextPart4139984.lniOLmzDE5 Content-Type: multipart/mixed; boundary="Boundary-01=_gQauEN8WRLOYE61" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_gQauEN8WRLOYE61 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all, Last week I decided to port the build system for something I am working on = to=20 cmake. I tried am2cmake to do my job using --kde3 (It's stil KDE3 based) an= d=20 it failed miserably. After wasting a lot of time, and learning a few things= =20 about cmake, it turned out to be a small bug in am2cmake that this patch=20 fixes. Ok to commit? Regards. =2D-=20 Nadeem Hasan (nhasan-at-nadmm.com) GPG Fingerprint: 7141 0B1C 9CAF 624D 307F F8EF 6C0C 753E DD3A 0F53 --Boundary-01=_gQauEN8WRLOYE61 Content-Type: text/x-diff; charset="us-ascii"; name="am2cmake.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="am2cmake.diff" Index: am2cmake =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- am2cmake (revision 562626) +++ am2cmake (working copy) @@ -532,7 +532,7 @@ def createKDE3ListsFile =20 file=3DFile.new(@listsFile, "w+"); =2D if @amFile=3D=3D"Makefile.am" && $no_kde=3D=3Dfalse # the = toplevel Makefile.am + if @amFile=3D=3D"Makefile.am" && $buildType !=3D BuildNoKDE # the = toplevel Makefile.am file.printf("FIND_PACKAGE(KDE3 REQUIRED)\n\n") file.printf("SET(CMAKE_VERBOSE_MAKEFILE ON)\n\n") file.printf("ADD_DEFINITIONS(${QT_DEFINITIONS} ${KDE3_DEFINITION= S})\n\n") @@ -667,7 +667,7 @@ file.printf("INSTALL_TARGETS(/bin %s )\n", buildTarget.name) =20 else #executable =2D if $no_kde + if $buildType =3D=3D BuildNoKDE =20 file.printf("ADD_EXECUTABLE(%s ${%s})\n\n", buildTarget.nam= e, srcsName) =20 --Boundary-01=_gQauEN8WRLOYE61-- --nextPart4139984.lniOLmzDE5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBEuaQkbAx1Pt06D1MRAvPuAJ4kquHM1YoKkhMxB3x2VK0xVJh2fACeLMyw xhrp5t5WXUg3k052BewxEdA= =8yJi -----END PGP SIGNATURE----- --nextPart4139984.lniOLmzDE5--