On 03/14/2015 01:50 AM, éå wrote:
I have to add the following lines to CMakeLists.txt. (Listing here for newbies like me.)
While that (in principle) should work, you don't need to edit CMakeLists.txt. Either run ccmake (rather than cmake) and edit the variables in the CMake cache, or you can specify them on the command line when you run cmake. e.g. this is how we run cmake on a 64-bit RHEL5 system (which is too old to have recent enough Boost or HDF5 libraries):
cmake28 .. -DCMAKE_INCLUDE_PATH=/usr/include/boost141;/usr/include/hdf518/ -DCMAKE_LIBRARY_PATH=/usr/lib64/boost141;/usr/lib64/hdf518
Ben -- http://salilab.org/~ben/ "It is a capital mistake to theorize before one has data." - Sir Arthur Conan Doyle