Skip to content

Commit a9f9354

Browse files
authored
Fix target test
1 parent b9bc76a commit a9f9354

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/os.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,12 @@ if (X86)
8585
endif ()
8686

8787
if (DYNAMIC_ARCH)
88+
if (TARGET)
8889
if (${TARGET} STREQUAL "GENERIC")
8990
set(NO_EXPRECISION 1)
9091
endif ()
9192
endif ()
93+
endif ()
9294

9395
if (UTEST_CHECK)
9496
set(CCOMMON_OPT "${CCOMMON_OPT} -DUTEST_CHECK")

0 commit comments

Comments
 (0)