Re: [CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-03 Thread Brad King
On 8/3/2011 1:19 PM, Alexander Neundorf wrote: Is there already a variable which contains the multiarch triplet, so I can do something like lib/${CMAKE_MULTIARCH_TRIPLET}/... ? Yes, "CMAKE_LIBRARY_ARCHITECTURE". It contains no slashes and is empty if there is no architecture choice. Slightly

Re: [CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-03 Thread Alexander Neundorf
On Wednesday 03 August 2011, Brad King wrote: > On 8/3/2011 11:41 AM, Alexander Neundorf wrote: > > On Tuesday 02 August 2011, Hendrik Sattler wrote: > >> If you use cmake 2.8.5, you can use GNUInstalldirs.cmake and let the > >> user specify the multiarch directory to install in (or solve it once i

Re: [CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-03 Thread Brad King
On 8/3/2011 11:41 AM, Alexander Neundorf wrote: On Tuesday 02 August 2011, Hendrik Sattler wrote: If you use cmake 2.8.5, you can use GNUInstalldirs.cmake and let the user specify the multiarch directory to install in (or solve it once in that cmake module). You mean having the user adjust the

Re: [CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-03 Thread Alexander Neundorf
On Tuesday 02 August 2011, Hendrik Sattler wrote: > Am Dienstag, 2. August 2011, 21:55:16 schrieb Alexander Neundorf: > > Hi, > > > > until recently, I recommended to install Config.cmake files more or less > > like this: > > > > install(FILES FooConfig.cmake DESTINATION lib${LIB_SUFFIX}/cmake/Fo

Re: [CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-02 Thread Hendrik Sattler
Am Dienstag, 2. August 2011, 21:55:16 schrieb Alexander Neundorf: > Hi, > > until recently, I recommended to install Config.cmake files more or less > like this: > > install(FILES FooConfig.cmake DESTINATION lib${LIB_SUFFIX}/cmake/Foo ) > > with LIB_SUFFIX being "64" on systems where this is req

[CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-02 Thread Alexander Neundorf
Hi, until recently, I recommended to install Config.cmake files more or less like this: install(FILES FooConfig.cmake DESTINATION lib${LIB_SUFFIX}/cmake/Foo ) with LIB_SUFFIX being "64" on systems where this is required. How do I do this on a Debian multiarch system ? How do I know in which di