So I have all these third party libraries I keep a copy of...
https://github.com/d3x0r/SACK/tree/master/src/contrib
So libressl for example, has cmakelists.txt
https://github.com/d3x0r/SACK/blob/master/CMakeLists.txt#L680
add_subdirectory( src/contrib/libressl/${LIBRESSL_VERSION} )
which I alias
Thanks for the reply. I haven't figured out how to use add_subdirectories
like you suggested but I was able to get it working based on this
https://github.com/josesj/rest-json-cpp-boilerplate
It uses find_package and etc. ... maybe a little overkill, I don't know.
But at least I got off the ground
for such things I often include the sources in my tree and just
'add_subdirectory( "extra/restbed" )'
it's cleaner to do a external project rule...
which can download/checkout sources and then build those and the output is
findable by other projects just by referencing the targets.
https://cmake.or
Hi All,
How do you use a 3rd party dependency like restbed in a cmake build?
Total nube here. First dive into CMake and haven't done C++ for a long long
time. So forgive my ignorance :) This could just as easily be an "I forgot
C++" as an "I don't know CMake"...
I'm trying to use restbed. I've g