Malhotra, Anupam wrote:
Hi
I am creating a static library using cmake. A .dsw is created for Visual
Studio 6. This library is using some existing libraries (say snmp.lib).
I want to specify in CMakeLists.txt that this existing library be linked
with the library I am creating. How can we specify something in the
“Project Options” field in the “Library Tag” in the “Project Settings”
in CMakeLists.txt?
If you want to link in snmp.lib, then use target_link_libraries.
find_library(SNMP_PATH snmp)
target_link_libraries(foo ${SNMP_PATH})
-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake