[CMake] How to installing cmake Config.cmake files under Debian multiarch ?
Hendrik Sattler
post at hendrik-sattler.de
Tue Aug 2 16:55:56 EDT 2011
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 required.
>
> How do I do this on a Debian multiarch system ?
> How do I know in which directory I should install ?
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).
At least that was I am going to do for openobex.
HS
More information about the CMake
mailing list