[CMake] library names
Mark Wyszomierski
markww at gmail.com
Mon Oct 29 13:16:47 EDT 2007
Hi,
I have a library project named "lib_util".
When using CMake to build the library (with g++), the output file is:
liblib_util.a
Now another sub project needs to link to that, and has the following
in CMakeLists.txt:
target_link_libraries(my_app, lib_util)
but when compiling my_app, it seems somehow to be searching for:
-llibutil
during linking. How did that naming come about - isn't my
CMakeLists.txt correct?
Thanks,
Mark
More information about the CMake
mailing list