aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMerry <[email protected]>2022-12-28 19:29:51 +0000
committerMerry <[email protected]>2022-12-28 19:30:58 +0000
commit83714656904646a1d3708235764d5d4765b4c133 (patch)
tree7b28e1dc27cf9ffd2e1bf8f180f2066ebda7bbf9 /CMakeLists.txt
parentfed56c4b091ed8ae9207cb35c5b3f877e6ce5147 (diff)
downloaddynarmic-83714656904646a1d3708235764d5d4765b4c133.tar.gz
dynarmic-83714656904646a1d3708235764d5d4765b4c133.zip
CMakeLists: Use system mcl when available
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7c5d788c..5e0734f5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -119,6 +119,7 @@ message(STATUS "Target architecture: ${ARCHITECTURE}")
if (DYNARMIC_USE_BUNDLED_EXTERNALS)
set(CMAKE_DISABLE_FIND_PACKAGE_Catch2 ON)
set(CMAKE_DISABLE_FIND_PACKAGE_fmt ON)
+ set(CMAKE_DISABLE_FIND_PACKAGE_mcl ON)
set(CMAKE_DISABLE_FIND_PACKAGE_tsl-robin-map ON)
set(CMAKE_DISABLE_FIND_PACKAGE_xbyak ON)
set(CMAKE_DISABLE_FIND_PACKAGE_Zydis ON)
@@ -126,6 +127,7 @@ endif()
find_package(Boost 1.57 REQUIRED)
find_package(fmt 9 QUIET)
+find_package(mcl 0.1.12 EXACT QUIET)
find_package(tsl-robin-map QUIET)
if (ARCHITECTURE STREQUAL "x86" OR ARCHITECTURE STREQUAL "x86_64")