On 27/11/2015 13:03, Barry Jackson wrote: > cd $BUILDD > +export DESTDIR=$INSTALLD > cmake --build . --target install -- -j "$JJ" The normal way of setting the install prefix with CMake is to configure with -DCMAKE_INSTALL_PREFIX=<path> but DESTDIR should work to at install time as well. I have recently (Yesterday) made some changes related to this which may have broken DESTDIR support. In theory you can do:
cmake --build . --target install -- -j <n> DESTDIR=$INSTALLD I will check if I have broken DESTDIR support, the complexity is that with the superbuild script WSJT-X is built as a "sub-project" and command line args may not be being passed down correctly. Exporting DESTDIR gets around that but it should work on the command line as well. 73 Bill G4WJS. ------------------------------------------------------------------------------ _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
