[CMake] INSTALL bug

Brad King brad.king at kitware.com
Tue Jul 11 11:39:05 EDT 2006


Christian Verbeek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> My directory structure is something like this
> 
> root/
>       |-proj1/
>       |         |-share
>       |
>       |-proj2/
>                 |-share
> 
> My top level CMakeLists.txt is in proj1 using proj2 with SUBDIRS(
> proj2 ) to compile some libraries placed in proj2/share. Unfortunately
> I have also some libraries in proj1/share. The build works fine, but
> the INSTALL target has a bug.
> 
> My top level cmake_install.cmake looks like
> 
> # Include the install script for each subdirectory.
> INCLUDE("i:/build/share/cmake_install.cmake")
> INCLUDE("i:/build/reconnect/cmake_install.cmake")
> INCLUDE("i:/build/share/cmake_install.cmake")
> 
> It does not distinguish between proj1/share and proj2/share. Thus when
> building the install target the libraries from proj1/share are
> installed twice and the libraries from proj2/share are missing.

Please send me a tarball with a minimal source tree producing this problem.

Thanks,
-Brad


More information about the CMake mailing list