Do not attempt to find boost in dynarmic if its target already exists
This commit is contained in:
parent
829fad8b66
commit
7bd0bfbb0c
1 changed files with 3 additions and 1 deletions
4
externals/dynarmic/CMakeLists.txt
vendored
4
externals/dynarmic/CMakeLists.txt
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue