Hello,

is there any way of appending additonal libraries to a CMake project without 
touching the CMakeLists.txt file? Something like

cmake EXTRA_LIBS=-lfoo .

or 

make EXTRA_LIBS=-lfoo

My problem is that I have a system where some additonal system libraries are 
required at the end of the linking command line and, since the project is from 
a 3rd party, I don't want to modify the CMakeLists.txt file unless absolutely 
necessary.

Thanks in advance,

Alberto
_______________________________________________
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