I would like to use cURL with my project. I added this to my CMakelist :
include_directories(include)
link_directories(lib)
target_link_libraries(untitled curl)
This is the tree of my project :
When I compile (with MinGW), I get this error :
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lcurl
collect2.exe: error: ld returned 1 exit status
I think curl is not properly linked, bt I don't know what I missed...