Open 370rokas opened 2 weeks ago
I'm a CMake flunky. So if you find a fix to the CMake build system that fixes this, I'm open to a patch.
Meanwhile I like to build without CMake. Here are the instructions I follow: https://howardhinnant.github.io/date/tz.html#Installation
Adding -lcurl
to your compile/link command will fix this. Here is my complete typical build command:
clang++ -std=c++17 test.cpp -I../date/include ../date/src/tz.cpp -O3 -lcurl
Hey, I am getting linker errors to libCurl functions.
This is my CMake code for getting the library:
I am running:
Any clue what might be wrong with my system's configuration?
Best Regards