Improving cmake
As discussed in issue #63 (closed), cmake was throwing an error: After upgrading my system I tried to reinstall corryvreckan and cmake is throwing the following error:
CMake Error at src/objects/CMakeLists.txt:5 (GET_FILENAME_COMPONENT): GET_FILENAME_COMPONENT called with incorrect number of arguments
@simonspa suggested to change
GET_FILENAME_COMPONENT(ROOT_CMAKE_DIR ${ROOT_USE_FILE} DIRECTORY)
to GET_FILENAME_COMPONENT(ROOT_CMAKE_DIR "${ROOT_USE_FILE}" DIRECTORY)
, which solved the issue