From 2afe928a47bf6e95915d5ecdc79352ade26131f1 Mon Sep 17 00:00:00 2001 From: zhouwei25 <52485244+zhouwei25@users.noreply.github.com> Date: Thu, 5 Dec 2019 15:13:43 +0800 Subject: [PATCH] fix xbyak control by -DWITH_XBYAK,test=develop (#21560) --- cmake/external/xbyak.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/external/xbyak.cmake b/cmake/external/xbyak.cmake index a5ac1878016..37951526153 100644 --- a/cmake/external/xbyak.cmake +++ b/cmake/external/xbyak.cmake @@ -15,6 +15,9 @@ option(WITH_XBYAK "Compile with xbyak support" ON) if(WIN32 OR APPLE) SET(WITH_XBYAK OFF CACHE STRING "Disable XBYAK in Windows and MacOS" FORCE) +endif() + +if(NOT WITH_XBYAK) return() endif() -- GitLab