CMake GSL Logic Issues
This applies to the GIT as of Aug. 6.
When building on a system (windows XP) without GSL, CMake tries to detect GSL and fails, leading to this error:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
linked by target "gmxana" in directory Y:/fah_windows_build/gromacs-aug6/src/tools
Configuring incomplete, errors occurred!
To solve the problem, I have to manually set GSL_GSL_LIBRARY to None. This is a minor inconvenience. In theory, CMake should be able to handle this automatically.
A simple change to CMakeLists.txt in the root gromacs directory might solve this problem, although I'm not sure how this affects the tool-building logic elsewhere. I think we just need to add an else statement (after if(GSL_FOUND)) and set(GSL_GSL_LIBRARY None).
Clearly, this is not a significant problem, but fixing it is probably better than having people harass the GMX lists because of it.