cmake: prefer system oaknut

This commit is contained in:
Alexandre Bouvier 2024-01-29 22:40:57 +01:00 committed by merry
parent 2ee3eacd01
commit 1e1ba4e0c2
3 changed files with 19 additions and 10 deletions

View file

@ -41,7 +41,11 @@ endif()
# oaknut
if (NOT TARGET merry::oaknut)
add_subdirectory(oaknut)
if ("arm64" IN_LIST ARCHITECTURE)
add_subdirectory(oaknut)
elseif (DYNARMIC_TESTS)
add_subdirectory(oaknut EXCLUDE_FROM_ALL)
endif()
endif()
# robin-map