My command is cmake --install . --prefix somewhereelse. I’m trying to get cmake to install a project in a custom directory instead of my program files folder. No matter what, though, it always puts it in my program files folder. It seems to be entirely ignoring my prefix argument.
means that the prefix is baked in at configure time. Instead, the INSTALL_BIN_DIR should be relative and let the install script add ${CMAKE_INSTALL_PREFIX} as needed. Right now, the install path is seen as absolute and therefore not eligible for replacement at install time.
leaves the install still looking at oops because the INSTALL_BIN_DIR was initialized with oops/bin and won’t be updated with the new prefix selection. There’s been a
Ah, sorry. My wireless flaked out and it seemed like everything had been there, but I guess not.
Basically, I could fix my upstream PR that already tries to fix some of this, but given the lack of activity…that’s probably not a useful investment of time.