CMakeLists: Use system mcl when available
This commit is contained in:
parent
fed56c4b09
commit
8371465690
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,7 @@ message(STATUS "Target architecture: ${ARCHITECTURE}")
|
||||||
if (DYNARMIC_USE_BUNDLED_EXTERNALS)
|
if (DYNARMIC_USE_BUNDLED_EXTERNALS)
|
||||||
set(CMAKE_DISABLE_FIND_PACKAGE_Catch2 ON)
|
set(CMAKE_DISABLE_FIND_PACKAGE_Catch2 ON)
|
||||||
set(CMAKE_DISABLE_FIND_PACKAGE_fmt 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_tsl-robin-map ON)
|
||||||
set(CMAKE_DISABLE_FIND_PACKAGE_xbyak ON)
|
set(CMAKE_DISABLE_FIND_PACKAGE_xbyak ON)
|
||||||
set(CMAKE_DISABLE_FIND_PACKAGE_Zydis ON)
|
set(CMAKE_DISABLE_FIND_PACKAGE_Zydis ON)
|
||||||
|
@ -126,6 +127,7 @@ endif()
|
||||||
|
|
||||||
find_package(Boost 1.57 REQUIRED)
|
find_package(Boost 1.57 REQUIRED)
|
||||||
find_package(fmt 9 QUIET)
|
find_package(fmt 9 QUIET)
|
||||||
|
find_package(mcl 0.1.12 EXACT QUIET)
|
||||||
find_package(tsl-robin-map QUIET)
|
find_package(tsl-robin-map QUIET)
|
||||||
|
|
||||||
if (ARCHITECTURE STREQUAL "x86" OR ARCHITECTURE STREQUAL "x86_64")
|
if (ARCHITECTURE STREQUAL "x86" OR ARCHITECTURE STREQUAL "x86_64")
|
||||||
|
|
Loading…
Reference in a new issue