Skip to content

Commit 2afe928

Browse files
zhwesky2010NHZlX
authored andcommitted
fix xbyak control by -DWITH_XBYAK,test=develop (#21560)
1 parent 4054947 commit 2afe928

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/external/xbyak.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
option(WITH_XBYAK "Compile with xbyak support" ON)
1616
if(WIN32 OR APPLE)
1717
SET(WITH_XBYAK OFF CACHE STRING "Disable XBYAK in Windows and MacOS" FORCE)
18+
endif()
19+
20+
if(NOT WITH_XBYAK)
1821
return()
1922
endif()
2023

0 commit comments

Comments
 (0)