[CMake] good way to append link flags?

Clinton Stimpson clinton at elemtech.com
Wed Apr 23 12:16:29 EDT 2014


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


More information about the CMake mailing list