I\'ve a strange problem with CMake.
I\'m importing Curl into my project, so I write for you a simplified summary of my CMakeLists.txt file.
AD
For a shared library, the IMPORTED_LOCATION must point to the DLL, not the import lib. See the documentation. You might also want to set the IMPORTED_IMPLIB property.
IMPORTED_LOCATION
BTW, CMake also has a find package for Curl; perhaps you could use that?