mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 14:20:17 +00:00
[llvm][unittests] Silence warning on MSVC after 5b2423183c
Differential revision: https://reviews.llvm.org/D149609
This commit is contained in:
parent
73e15b5edb
commit
8efc7de0e6
@ -21,3 +21,8 @@ add_llvm_unittest(ObjectTests
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(ObjectTests PRIVATE LLVMTestingSupport)
|
target_link_libraries(ObjectTests PRIVATE LLVMTestingSupport)
|
||||||
|
|
||||||
|
if (MSVC)
|
||||||
|
# Disable warning C4309: '=': truncation of constant value
|
||||||
|
set_source_files_properties(GOFFObjectFileTest.cpp PROPERTIES COMPILE_FLAGS -wd4309)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user