So far, I’ve been using Urho as a dependency on my machine. I did the standard make && make install
and everything works well on my both Fedora and Manjaro setups. However, now that I’m ready to package my project and make it more mature, I wanted to add Urho as an external dependency to my build, so contributors can just clone my repo and run CMake and call it a day. This will be much better for Mac and Windows contributors too.
Unfortunately, I can’t get ExternalProject_Add
to work with Urho. It fails to find paths and I can’t compile it as a static dependency. I also tried with a git submodule and add_subdirectory
, but had the same errors. I suspect the problem lies within the Urho standard CMakeLists.txt.
Has anyone tried to do anything similar?