Hello!

I'm using cmake 2.8.2 and I'd like to build a library of libraries and i have no additional source code.
I tried something like that:

add_library(mylib )
target_link_libraries(mylib lib1 lib2)

But that doesn't work, because add_library needs at least a source file.

Is there any way to get that work, without creating a dummy source file?

Chears,
Matthias

_______________________________________________
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

Reply via email to