Re: [CMake] Subprojects and Cmake?

2016-03-06 Thread Juhani Karlsson
Thanks for the fast answer Nicholas! Superproject sounds good to my ears! I`m going to try the ExternalProject_Add again. I think I missed something essential when I tried to use it! NanoGui builds fine as is - so Its just me fng things up ; ) Thanks, - J On 6 March 2016 at 20:04, Nicholas

Re: [CMake] Subprojects and Cmake?

2016-03-06 Thread Nicholas Braden
If you are using the add_subdirectory approach, I believe you should not be using find_package and instead you just need to use target_link_libraries to have everything handled for you. Another approach would be making a superproject that builds your dependencies and your own project via

[cmake-developers] [CMake 0016008]: FindPostgreSQL.cmake return relative lib path

2016-03-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=16008 == Reported By:Egor P. Assigned To: