Utils mempcy bench build when position independent code disabled

This commit is contained in:
Maksim Kita 2021-04-09 00:16:41 +03:00
parent 48e688737a
commit d1446faa6b

View File

@ -37,7 +37,8 @@ if (NOT DEFINED ENABLE_UTILS OR ENABLE_UTILS)
add_subdirectory (keeper-data-dumper)
endif ()
if (NOT OS_DARWIN)
# memcpy_jart.S contains position dependent code
if (NOT CMAKE_POSITION_INDEPENDENT_CODE AND NOT OS_DARWIN)
add_subdirectory (memcpy-bench)
endif ()
endif ()