Fix target test

This commit is contained in:
Martin Kroeker 2020-11-02 23:17:46 +01:00 committed by GitHub
parent b9bc76aec4
commit a9f9354296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -85,10 +85,12 @@ if (X86)
endif () endif ()
if (DYNAMIC_ARCH) if (DYNAMIC_ARCH)
if (TARGET)
if (${TARGET} STREQUAL "GENERIC") if (${TARGET} STREQUAL "GENERIC")
set(NO_EXPRECISION 1) set(NO_EXPRECISION 1)
endif () endif ()
endif () endif ()
endif ()
if (UTEST_CHECK) if (UTEST_CHECK)
set(CCOMMON_OPT "${CCOMMON_OPT} -DUTEST_CHECK") set(CCOMMON_OPT "${CCOMMON_OPT} -DUTEST_CHECK")