0gb.us wrote:Also, how do I set those values?
Never mind. Some experementing found that using the -DCURL_LIBRARY and -DCURL_INCLUDE_DIR flags works. Although why a "D" is part of the flag is still a mystery to me.
Traxie21 wrote:Wow, you're up late (If you live in the USA/Canada by any chance).
(I have a bad cold, can't sleep)
Anyhow, Its been awhile since I tried to compile for linux, try looking through all the files you can find in your compile directory that have Cmake in the name..... Thats how I found it on Windows (I hate windows, but my HDD is too small to install any full featured distro, and I need In for my work)
The .so may be in usr/lib/ or another directory that is right on the tip of my tongue........
What was in /usr/bin/curl? If it was an executable, you might be able to *try* using that for the CURL_LIBRARY.
I'm near the west cost, in Oregon. I have a cold as well and can't sleep, but those are unrelated issues in my case.
My condolences on your having to use Windows.
Yeah, /usr/bin/curl is an executable.
I couldn't find anything that looked cURL related in /usr/lib, but I'll look through those Cmake files tomorrow. For now, I set CURL_INCLUDE_DIR to an empty string. I'm going to see how badly that screws things up, then head to bed.
EDIT: The empty string didn't prevent compilation, but it also didn't enable cURL. I'll work on this more tomorrow.