CMake/Tests/RunCMake/CMP0045/CMP0045-OLD.cmake
Stephen Kelly 73e93400e2 get_target_property: Error on non-existent target.
Introduce policy CMP0045 to control this behavior.
2014-01-08 16:41:34 +01:00

5 lines
69 B
CMake

cmake_policy(SET CMP0045 OLD)
get_target_property(result tgt TYPE)