On 07/04/2013 04:29 AM, Stephen Kelly wrote:
>> How do install() invocations distinguish which prefix to use?
> 
> I think install invokations use CMAKE_HOST_INSTALL_PREFIX for everything if 
> present, and CMAKE_INSTALL_PREFIX otherwise.

Before I answer the rest of the message I'd like clarification here.
Do you mean that the install() invocations have

 install(TARGETS ... DESTINATION ${CMAKE_HOST_INSTALL_PREFIX}/lib)

?  Or will install() somehow know whether a build target is for
host or target architecture?

-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

Reply via email to