On Monday 20 March 2006 18:33, you wrote: > Am Montag, 20. März 2006 18:23 schrieb Alexander Neundorf: > > KDE4_LIB_INSTALL_DIR is an absolute path and comes from the file > > KDELibsDependencies.cmake, which is installed by kdelibs. > > > > But, if *not* using KDEDIR, what's the recommended way for detecting the > > KDE4-version of kde-config ? > > Can't that installed cmake file be generated?
It is generated, it just has to be found once in the beginnig. > > Let's say I want to install a KDE application, but not into the KDE4 > > install dir (e.g. /opt/kde4), but into /usr/local. Then I would set > > CMAKE_INSTALL_PREFIX to /usr/local (which is the default). > > > > Then it would be required that the KDE4 binary dir is in the PATH, and > > that it is in the PATH before the KDE3 version of kde-config. > > With KDEDIR I could just set KDEDIR=/opt/kde4 and > > CMAKE_INSTALL_PREFIX=/usr/local, with having /opt/kde3 in the PATH but > > not /opt/kde4. > > How could this work without KDEDIR ? > > Well, you could either rely on $PATH only or iterate over $KDEDIRS or both > and then check the output of kde-config -v So KDEDIRS should be supported, but not KDEDIR, right ? That's ok. Bye Alex -- Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de Home: neundorf AT kde.org - http://www.kde.org alex AT neundorf.net - http://www.neundorf.net _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
