CMP0051-WARN-stderr.txt 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. CMake Warning \(dev\) at CMP0051-WARN.cmake:6 \(get_target_property\):
  2. Policy CMP0051 is not set: List TARGET_OBJECTS in SOURCES target property.
  3. Run "cmake --help-policy CMP0051" for policy details. Use the cmake_policy
  4. command to set the policy and suppress this warning.
  5. Target "empty" contains \$<TARGET_OBJECTS> generator expression in its
  6. sources list. This content was not previously part of the SOURCES property
  7. when that property was read at configure time. Code reading that property
  8. needs to be adapted to ignore the generator expression using the
  9. string\(GENEX_STRIP\) command.
  10. Call Stack \(most recent call first\):
  11. CMakeLists.txt:3 \(include\)
  12. This warning is for project developers. Use -Wno-dev to suppress it.
  13. Sources: "empty.cpp"
  14. *
  15. CMake Warning \(dev\) at CMP0051-WARN.cmake:12 \(get_target_property\):
  16. Policy CMP0051 is not set: List TARGET_OBJECTS in SOURCES target property.
  17. Run "cmake --help-policy CMP0051" for policy details. Use the cmake_policy
  18. command to set the policy and suppress this warning.
  19. Target "empty2" contains \$<TARGET_OBJECTS> generator expression in its
  20. sources list. This content was not previously part of the SOURCES property
  21. when that property was read at configure time. Code reading that property
  22. needs to be adapted to ignore the generator expression using the
  23. string\(GENEX_STRIP\) command.
  24. Call Stack \(most recent call first\):
  25. CMakeLists.txt:3 \(include\)
  26. This warning is for project developers. Use -Wno-dev to suppress it.
  27. Sources: "../empty.cpp"$