and don't forget to add
#cmakedefine HAVE_CURL 1

into ./src/shogun/lib/config.h.in
!