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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -