Merge pull request #7161 from lioncash/disasm

CMake: Only link in Bochs on x86 platforms
This commit is contained in:
Léo Lam
2018-09-16 15:16:00 +02:00
committed by GitHub
4 changed files with 28 additions and 18 deletions

View File

@ -534,7 +534,9 @@ endif()
# - place the CMakeLists.txt in the first-level subdirectory, e.g.
# Externals/zlib/CMakeLists.txt (that is: NOT in some Src/ subdirectory)
#
add_subdirectory(Externals/Bochs_disasm)
if (_M_X86)
add_subdirectory(Externals/Bochs_disasm)
endif()
add_subdirectory(Externals/cpp-optparse)
add_subdirectory(Externals/glslang)