Re: [CMake] Linking Libraries

2007-11-13 Thread abboti
I'll also add that the project compiles using MS Visual C++ with the LINK_LIBRARIES removed (no reference to these VTKLibraries anywhere in the top-level CMakeLists. ==Original message text=== On Tue, 13 Nov 2007 7:17:50 EST [EMAIL PROTECTED] wrote: Adding each of the

Re: [CMake] Linking Libraries

2007-11-13 Thread abboti
Adding each of the libraries to the TARGET_LINK_LIBRARIES, instead of this LINK_LIBRARIES did not work. This is the part that confuses me the most. What LINK_LIBRARIES doing that TARGET_LINK_LIBRARIES is not? ==Original message text=== On Mon, 12 Nov 2007 12:45:13 EST

[CMake] Linking Libraries

2007-11-12 Thread abboti
I've created a project (Farsight) that has this top-level CMakeLists file (segment shown). The subdirs also have theirs. The cpp files in /seg use VTK libraries. I have found that the project compiles using MS Visual Studio, but not using g++. To get g++ to work I added this to the CMakeLis