Good Morning, after some more digging yesterday I came up with this working solution: http://pastebin.com/m1daf62d4 Now if you look at lines 36-38 and 46 you will notice that I had to make dependencies on some libraries explicit that I did not need before.
Mathieu already said this was the cmake way but it makes me wonder which dependencies really have to be explicit and which don't. Or does that mean that this are really all the libraries the code is using? Also, doesn't this get very complicated and unhandy on large projects? Would be nice if somebody could provide clarification. Best Simon _______________________________________________ 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