On 08.03.12 19:24:00, Cong Ma wrote: > Hi, > > Imported library has scope in the directory in which it is created and > below. > > If I want to use this library in parent scope, what should I do?
Add the imported library in the top-level cmake file, not a subdirectory. Andreas -- 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
