Enable "old" CMP0026 policy (not perfect, but better than dozens of warning)

This commit is contained in:
Gael Guennebaud 2018-12-08 18:59:51 +01:00
parent bff90bf270
commit 348bb386d1

View File

@ -136,6 +136,7 @@ if(EXISTS ${eigen_full_path_to_testing_lapack})
add_subdirectory(testing/MATGEN)
add_subdirectory(testing/LIN)
add_subdirectory(testing/EIG)
cmake_policy(SET CMP0026 OLD)
macro(add_lapack_test output input target)
set(TEST_INPUT "${LAPACK_SOURCE_DIR}/testing/${input}")
set(TEST_OUTPUT "${LAPACK_BINARY_DIR}/testing/${output}")