cmake HAVE_PRAGMA_LOOP_NO_VECTOR examples

DrTimothyAldenDavis/SuiteSparse UMFPACK/CMakeLists.txt :415

check_source_compiles ( C
        "int main(void) {
        #pragma loop( no_vector )
        for (int j = 0; j < 1; j++) { }
        return 0;
        }"
        HAVE_PRAGMA_LOOP_NO_VECTOR
        FAIL_REGEX "[wW]arning" )

DrTimothyAldenDavis/SuiteSparse UMFPACK/CMakeLists.txt :426

target_compile_definitions ( UMFPACK PRIVATE "HAVE_PRAGMA_LOOP_NO_VECTOR" )

DrTimothyAldenDavis/SuiteSparse UMFPACK/CMakeLists.txt :429

target_compile_definitions ( UMFPACK_static PRIVATE "HAVE_PRAGMA_LOOP_NO_VECTOR" )