Dear Guillaume,

Thank you for the suggestion. Unfortunately, it seems this option does not fill the linker property of the linking project.

Otherwise, it seems that STATIC_LIBRARY_FLAGS is adding the link properties to the 'librarian':

set_target_properties(lib_project PROPERTIES STATIC_LIBRARY_FLAGS "-level='requireAdministrator' -uiAccess='false'")

Any other suggestions? Thanks!

LP

Le 08/08/2016 à 02:45, Guillaume Dumont a écrit :
Hi,

You can use the LINK_FLAGS or LINK_FLAGS_<CONFIG> for this:

https://cmake.org/cmake/help/v3.6/prop_tgt/LINK_FLAGS.html

Have you tried that?

Guillaume

On Wed, Aug 3, 2016 at 7:02 AM, Louis-Paul CORDIER <lp.cord...@dynamixyz.com <mailto:lp.cord...@dynamixyz.com>> wrote:

    ase not t





--
Guillaume Dumont
=========================
dumont.guilla...@gmail.com <mailto:dumont.guilla...@gmail.com>

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to