On 07/05/2011 01:40 AM, Glenn Coombs wrote:
> If you can modify the subdirectory cmakefiles then maybe you could protect
> the declaration of the uninstall target like this:
>
> if (NOT TARGET uninstall)
> add_custom_target(uninstall ...)
> endif()
>
> That way if the top level cmakefile decl
If you can modify the subdirectory cmakefiles then maybe you could protect
the declaration of the uninstall target like this:
if (NOT TARGET uninstall)
add_custom_target(uninstall ...)
endif()
That way if the top level cmakefile declares an uninstall target it should
prevent the subdirectory
Hi all!
I have a project, which pulls in a bunch of sub-projects, using
add_subdirectory.
The problem is that these projects all create a custom target called
uninstall. Obviously, when these projects are pulled together, the uninstall
targets clash.
An ideal solution would be to ignore the unins
Hi.
I'm currently facing problems with rpath and cross compiling.
I build a program (deployer-gnulinux) that need and external lib in a non
standard path (lib/orocos/gnulinux/plugins).
Somewhere in the CMake procedure, there is a call to find_library with
"PATH_SUFFIXES orocos/gnulinux/plugins