I am wondering if someone could help me understand an issue that I have with the CPM. I can integrated it, no problem. But for some reason, when I build my project. CPM starts to mix up everything. It creates a lib, and bin directory in my build directory and shuffles everything around. I don’t exactly know what happened that CPM doesn’t put things in their respected -build, -install folders anymore.
I should probably mention that I’m using the ExternalPackage as well, and direct them to the same _deps directory. But, I don’t think that should cause the problem. I feel that somehow, CPM triggers an install target for some reason! I do not yet have an install target yet.
Thanks, I have already asked it there, but I thought I will share it here maybe someone could help.
SSCCE is usually a good idea, and I usually do that in this forum, but I felt this should be self explanatory enough, which appears to be not. I see if I can put together something minimal! Thanks again!
I ended up tracking this down and it was an issue with the libraries CMake code assuming it was the top level project. Making it unfriendly to be consumed via add_subdirectory