How can I remove the "the Location property may not be read from target" error in CMake? -
i trying run cmake script in this post. script cmake print properties of target. however, when tries retrieve "location" property of target, following error observed:
the location property may not read target "abc". use target name directly add_custom_command, or use generator expression $<target_file>, appropriate.
then tried print property message($<target_file:abc>)
, not work either. ideas?
Comments
Post a Comment