From 83714656904646a1d3708235764d5d4765b4c133 Mon Sep 17 00:00:00 2001 From: Merry Date: Wed, 28 Dec 2022 19:29:51 +0000 Subject: [PATCH] CMakeLists: Use system mcl when available --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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")