[CMake] Set the "Link Library Dependencies" property to "Yes"

Hashim Mir hmir at rim.com
Wed Apr 11 17:21:42 EDT 2012


Hi all,

I am working on a Cmake project right now, and I'm wondering if there is a way to get Cmake to set the "Link Library Dependencies" option to "Yes" (currently, it defaults to "No").

I can easily do this in Visual Studio by going: Project Properties > Linker > General > Link Library Dependencies and change it from No  to Yes.

My goal is to try to figure out a way of getting Cmake to do this for me.

FYI, I do have Additional Library Dependencies in my project as well, and I am setting these via the Cmake link_directories command.

Thanks in advance,
Hashim

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120411/4f85a57e/attachment.htm>


More information about the CMake mailing list