TARGET_PROPERTY-LOCATION-stderr.txt 611 B

123456789101112
  1. CMake Warning \(dev\) at TARGET_PROPERTY-LOCATION.cmake:2 \(add_library\):
  2. Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  3. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  4. command to set the policy and suppress this warning.
  5. The LOCATION property should not be read from target "foo". Use the target
  6. name directly with add_custom_command, or use the generator expression
  7. \$<TARGET_FILE>, as appropriate.
  8. Call Stack \(most recent call first\):
  9. CMakeLists.txt:3 \(include\)
  10. This warning is for project developers. Use -Wno-dev to suppress it.