mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
build: Make ImHex fully compile with warnings enabled in MSVC
This commit is contained in:
2
lib/third_party/yara/CMakeLists.txt
vendored
2
lib/third_party/yara/CMakeLists.txt
vendored
@@ -117,6 +117,8 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
target_compile_options(libyara PRIVATE -Wno-shift-count-overflow -Wno-stringop-overflow)
|
||||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
target_compile_options(libyara PRIVATE -Wno-pointer-sign -Wno-tautological-constant-out-of-range-compare)
|
||||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
target_compile_options(libyara PRIVATE /wd4005)
|
||||
endif ()
|
||||
|
||||
target_include_directories(
|
||||
|
||||
Reference in New Issue
Block a user