Build fix for case without TegraDetector.

This commit is contained in:
Alexander Smorkalov
2015-02-20 13:29:58 +03:00
parent 352485fc54
commit 3649a1a179
2 changed files with 4 additions and 0 deletions

View File

@@ -153,10 +153,12 @@ TEST(CpuID, CheckAarch64)
EXPECT_TRUE(cpu_id & ARCH_AARCH64);
}
#else
# if defined(__arm__) && defined(USE_TEGRA_HW_DETECTOR)
TEST(TegraDetector, Detect)
{
EXPECT_TRUE(DetectTegra() != 0);
}
# endif
TEST(CpuID, CheckArmV7)
{