title: CMake error "Can not find target to add properties to"
body: <p>In my CMakeLIsts.txt file I write this:</p>
  
  <pre><code>set(LIBHELLO_SRC hello.c)
  set_target_properties(hello_static PROPERTIES OUTPUT_NAME "hello")
  get_target_property(OUTPUT_VALUE hello_static OUTPUT_NAME)
  message(STATUS "This is the hello_static OUTPUT_NAME:"${OUTPUT_VALUE})
  </code></pre>
  
  <p>When I run <code>cmake</code>, it shows the error message:</p>
  
  <pre><code>set_target_properties Can not find target to add properties to: hello_static
  </code></pre>