Tests: Fix name of cache variable.

This commit is contained in:
Stephen Kelly 2014-05-06 21:20:49 +02:00
parent c010e7cc80
commit dc7639bdab
1 changed files with 2 additions and 2 deletions

View File

@ -50,9 +50,9 @@ macro(do_try_compile prefix)
auto value = 0;
return value;
}
" ${prefix}IMPORTED_IFACE_CONSTEXPR)
" ${prefix}IMPORTED_IFACE_AUTO_TYPE)
if(NOT ${prefix}IMPORTED_IFACE_CONSTEXPR)
if(NOT ${prefix}IMPORTED_IFACE_AUTO_TYPE)
message(SEND_ERROR "${prefix} try_compile with IMPORTED INTERFACE target failed!\n\n${OUTPUT}")
endif()
endif()