On Wednesday 17 June 2009, Richard Offer wrote: > (probably a newbie question, but google didn't show anything relevant and > answered) > > > I have a project that includes a third party library (Poco), and then my > application that links to it. Everything is built from a single top level > CMakeLists.txt file. Poco is includes using add_subdirectory(), the > application with include(). > > > However I need to run the install phase of Poco before the application can > link to the library - its the install phase of Poco that copies the headers > and libraries from all its many sub-directories into the single > LIBRARY_OUTPUT_PATH.
Why do you need to install poco first before building the rest ? You can link also to the uninstalled libraries and you can also set the include dirs to point to the source directories. Alex _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
