I am trying to compile FlightGear without installing SimGear. I want to have several versions to work with while I am evaluating some things.
I use cmake -DCMAKE_INSTALL_PREFIX=/home/test/fgtest on simgear and then the same in flightgear but I get a message about setting SIMGEAR_DIR.
I tried to set the SIMGEAR_DIR with export SIMGEAR_DIR=/home/test/fgtest but I cannot get flightgear's cmake to find simgear.
This page describes what I want to do:
http://wiki.flightgear.org/Building_using_CMake
Yes the instructions are for Mac, but I don't think that should matter, should it?