Re:Matt Godbolt sold me on Rust by showing me C++
by kylereeve on Wednesday May 07, 2025 @11:17AM
(#43916840)
Do you have CMake actually run `git clone`, or do you clone separately and point CMake at the `FIND_X` files?
Re:Matt Godbolt sold me on Rust by showing me C++
by runevault on Wednesday May 07, 2025 @12:48PM
(#43917945)
I was using fetch content or the like, there is a package that comes after a certain version of cmake where you can tell it this is a git repo and it handles all that for you. It has been a few months since I did this so I don't remember the details fully
I am no expert so take it with a grain of salt, but that was how it felt for me.