Re: [CMake] policy CMP0003 and full path, but still conflict with implicit directories

2010-02-25 Thread PG
Quoting PG on 02/24/2010 06:00 PM: Hi Bill, Can you create a small example that shows the problem you are having? what do you mean by a small example? A simple CMakeList.txt file with some code to compile? I will try to to this with some code anyone could compile, but it may take me some t

Re: [CMake] policy CMP0003 and full path, but still conflict with implicit directories

2010-02-25 Thread Brad King
PG wrote: > I am using cmake 2.8 on linux (ubuntu 9.10 karmic), and found that with > policy CMP0003, libraries with full path provided shouldn't produce > linker search paths entry. > I made sure this policy is active by adding a > CMAKE_POLICY(SET CMP0003 NEW) > even though I used > CMAKE_MIN

Re: [CMake] policy CMP0003 and full path, but still conflict with implicit directories

2010-02-24 Thread PG
Hi Bill, Can you create a small example that shows the problem you are having? what do you mean by a small example? A simple CMakeList.txt file with some code to compile? I will try to to this with some code anyone could compile, but it may take me some time as I am booked with other things

Re: [CMake] policy CMP0003 and full path, but still conflict with implicit directories

2010-02-24 Thread Bill Hoffman
PG wrote: Hi all, I want to link a target to libraries A and B. A is in the /usr/lib directory, and B is in another directory, say /some/path. My problem is that an old version of A also exists in the directory /some/path, and if I add this directory to the linker search path, /some/path/A w

[CMake] policy CMP0003 and full path, but still conflict with implicit directories

2010-02-24 Thread PG
Hi all, I want to link a target to libraries A and B. A is in the /usr/lib directory, and B is in another directory, say /some/path. My problem is that an old version of A also exists in the directory /some/path, and if I add this directory to the linker search path, /some/path/A will be foun