Disable ARM-specific tests when ARM is unavailable.
This commit is contained in:
@@ -1403,6 +1403,9 @@ if(UNICORN_BUILD_TESTS)
|
||||
add_executable(${TEST_FILE}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tests/unit/${TEST_FILE}.c
|
||||
)
|
||||
target_compile_options(${TEST_FILE} PRIVATE
|
||||
${UNICORN_COMPILE_OPTIONS}
|
||||
)
|
||||
target_link_libraries(${TEST_FILE} PRIVATE
|
||||
${SAMPLES_LIB}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user