Configuring LAPACK with CMake 3.0 produces more than a thousand lines of warnings of the form:
CMake Warning (dev) at TESTING/CMakeLists.txt:13 (get_target_property):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The LOCATION property should not be read from target "xlintsts". Use the
target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.
The attached patch fixes the warnings by replacing the deprecated LOCATION target property with the generator expression $<TARGET_FILE>.
Best regards,
Victor

