0
0
mirror of https://notabug.org/litucks/torzu.git synced 2025-04-24 09:05:13 +00:00

Do not attempt to find boost in dynarmic if its target already exists

This commit is contained in:
spectranator 2025-04-13 17:44:18 +02:00
parent 829fad8b66
commit 7bd0bfbb0c

View File

@ -140,7 +140,9 @@ if (DYNARMIC_USE_BUNDLED_EXTERNALS)
set(CMAKE_DISABLE_FIND_PACKAGE_Zydis ON)
endif()
find_package(Boost 1.57 REQUIRED)
if (NOT TARGET boost_headers)
find_package(Boost 1.57 REQUIRED)
endif()
find_package(fmt 9 CONFIG)
find_package(mcl 0.1.12 EXACT CONFIG)
find_package(tsl-robin-map CONFIG)