> You still need to install that lib even if it is not used by 3rd party > application, it is used inernally by your own application. > > INSTALL(TARGETS publiclib privatelib...)
The private libraries are of course installed. If I link against that installed public library "by hand" everything works fine. And of course that INSTALL instruction is not working because privatelib is in a different directory. Eike _______________________________________________ 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