On 23.04.2014 18:16, Clinton Stimpson wrote:
I am using
set_property(TARGET mytarget APPEND PROPERTY LINK_FLAGS "...")
multiple times to add various link flags.
But when I inspect the actual link command, I see all my flags separated by
semi-colons and no spaces between them, which is not what I want.
Is this correct behavior for cmake?
Clint
Try APPEND_STRING (with explicit space) instead of APPEND.
Some flag variables/properties are interpreted as strings rather than lists.
Nils
--
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://www.cmake.org/mailman/listinfo/cmake