removing the DEPENDENCIES_DIR option from the CMakeList file, its goal was already achieved by CMAKE_PREFIX_PATH