On 7/8/2013 11:22 AM, Stephen Kelly wrote: > Brad King wrote: >> or do you mean that CMAKE_HOST_INSTALL_PREFIX, if defined at all, >> completely replaces CMAKE_INSTALL_PREFIX for all install rules? > > Yes for install rules, but with some exceptions I think when used in > calculations. > > For things like the logic in > > cmExportInstallFileGenerator::GenerateMainFile > > about the relocatable-/usr/lib-stuff, I think CMAKE_INSTALL_PREFIX should > still be used.
...because it will be the actual prefix when loaded on the target, right? What if one loads the target library from another project on the host? -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers