Merge pull request #4053 from Sonicadvance1/disable_vixl_compiling

CMake: Disable vixl compiling if not enabled
This commit is contained in:
Ryan Houdek authored and GitHub committed 2024-09-09 18:03:46 -07:00
commit f99900bdc5
1 file changed
+4 -2
+4 -2
View File
@@ -273,8 +273,10 @@ if (BUILD_TESTS)
set(COMPILE_VIXL_DISASSEMBLER TRUE)
endif()
add_subdirectory(External/vixl/)
include_directories(SYSTEM External/vixl/src/)
if (COMPILE_VIXL_DISASSEMBLER OR ENABLE_VIXL_SIMULATOR)
add_subdirectory(External/vixl/)
include_directories(SYSTEM External/vixl/src/)
endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# This means we were attempted to get compiled with GCC