On Fri, 2012-11-23 at 12:33 +0000, Renk Thorsten wrote: > cmake ../../flightgear -DSIMGEAR_DIR:PATH=/home/fgfs/FGLib >
Hi, Try - $ export SIMGEAR_DIR=/home/fgfs/FGLib \ cmake ../../flightgear In FG/CMakeModules/FindSimGear.cmake you will find HINTS $ENV{SIMGEAR_DIR} Note the 'ENV', so it expects it to be in the environment... What you did WOULD work if you added - HINTS $ENV{SIMGEAR_DIR} ${SIMGEAR_DIR} But this may still fail, since you say it is installed in - /home/fgfs/FGLib/lib64 And the 'find' module has - PATH_SUFFIXES ${CMAKE_INSTALL_LIBDIR} libs64 \ libs libs/Win32 libs/Win64 But 'perhaps' CMAKE_INSTALL_LIBDIR will include a suffix of 'lib64'... not sure... Another 'trick' to try is adding -DCMAKE_PREFIX_PATH=/home/fgfs/FGLib but this is not always certain... HTH, Regards, Geoff. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel