If you want to add new dependency, the way to add it will depend on the type
Use add_lunarmodule
function in Extern/CMakeLists.txt with appropriate tag:
add_lunarmodule(ldoc v1.5.0)
- Create a new directory (e.g.
mylib
) - Add a line to Extern/CMakeLists.txt:
add_subdirectory(mylib)
- Copy
Extern/zlib/CMakeLists.txt
to new directory - Edit the file replacing
zlib
withmylib
and adding new repository URL - Add other tweaks to
CMakeLists.txt
as necessary