[patch] Fix in source build of log4cpp

Hello,

While integrating orocos to buildroot, I just found that the build of
orocos-log4cpp fails when done in the source tree. I know that's usually a
bad idea, but that's the default behaviour of buildroot. CMake gets confused
with the configure file and directory. Here is a patch to fix the problem.

Philippe

AttachmentSize
0001-Fix-in-source-build.patch10.56 KB

[patch] Fix in source build of log4cpp

On Thursday 10 March 2011 16:25:31 Philippe Hamelin wrote:
> Hello,
>
> While integrating orocos to buildroot, I just found that the build of
> orocos-log4cpp fails when done in the source tree. I know that's usually a
> bad idea, but that's the default behaviour of buildroot. CMake gets
> confused with the configure file and directory. Here is a patch to fix the
> problem.

Applied on toolchain-2.3. Thanks.

Peter