`function(generateInstallTargets)` looks like what...
# core
s
function(generateInstallTargets)
looks like what I’d expect to see in
make install
. It’s putting stuff into install locations. The part that becomes hard for me is what happens next.
function(generatePackageTarget)
sets a bunch of cmake variables and then passes it off to
include(CPack)
I think? Which is a black box. So when I look at something like the install permissions error, I have no idea how to fix it. And I’m at the mercy of whatever variables the cpack developers exposed.