Re: [CMake] adding same subdirectory multiple times.

2010-03-11 Thread Andreas Pakulat
On 11.03.10 09:56:35, mika.raj...@patria.fi wrote: Hi The problem: From a shared CMakeLists.txt i get the following error when defining a library target. Policy CMP0002 is not set: Logival target names must be globally unique. The situation: Let's assume i have the following

Re: [CMake] adding same subdirectory multiple times.

2010-03-11 Thread Mika . Rajala
cmake-boun...@cmake.org wrote on 11.03.2010 10:04:42: On 11.03.10 09:56:35, mika.raj...@patria.fi wrote: Hi The problem: From a shared CMakeLists.txt i get the following error when defining a library target. Policy CMP0002 is not set: Logival target names must be globally

Re: [CMake] adding same subdirectory multiple times.

2010-03-11 Thread Michael Wild
On 11. Mar, 2010, at 9:27 , mika.raj...@patria.fi wrote: cmake-boun...@cmake.org wrote on 11.03.2010 10:04:42: On 11.03.10 09:56:35, mika.raj...@patria.fi wrote: Hi The problem: From a shared CMakeLists.txt i get the following error when defining a library target. Policy

Re: [CMake] adding same subdirectory multiple times.

2010-03-11 Thread Mika . Rajala
cmake-boun...@cmake.org wrote on 11.03.2010 10:37:47: On 11. Mar, 2010, at 9:27 , mika.raj...@patria.fi wrote: cmake-boun...@cmake.org wrote on 11.03.2010 10:04:42: On 11.03.10 09:56:35, mika.raj...@patria.fi wrote: Hi The problem: From a shared CMakeLists.txt i get the

Re: [CMake] adding same subdirectory multiple times.

2010-03-11 Thread Michael Wild
On 11. Mar, 2010, at 9:41 , mika.raj...@patria.fi wrote: cmake-boun...@cmake.org wrote on 11.03.2010 10:37:47: On 11. Mar, 2010, at 9:27 , mika.raj...@patria.fi wrote: cmake-boun...@cmake.org wrote on 11.03.2010 10:04:42: On 11.03.10 09:56:35, mika.raj...@patria.fi wrote:

Re: [CMake] adding same subdirectory multiple times.

2010-03-11 Thread Mika . Rajala
cmake-boun...@cmake.org wrote on 11.03.2010 10:56:42: On 11. Mar, 2010, at 9:41 , mika.raj...@patria.fi wrote: cmake-boun...@cmake.org wrote on 11.03.2010 10:37:47: On 11. Mar, 2010, at 9:27 , mika.raj...@patria.fi wrote: cmake-boun...@cmake.org wrote on 11.03.2010

[CMake] adding same subdirectory multiple times.

2010-03-10 Thread Mika . Rajala
Hi The problem: From a shared CMakeLists.txt i get the following error when defining a library target. Policy CMP0002 is not set: Logival target names must be globally unique. The situation: Let's assume i have the following cmake files in the following folders with the svn:externals