mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-03 05:57:40 -05:00
build: Make ImHex fully compile with warnings enabled in MSVC
This commit is contained in:
@@ -10,6 +10,8 @@ if (NOT USE_SYSTEM_CAPSTONE)
|
||||
add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/capstone ${CMAKE_CURRENT_BINARY_DIR}/capstone EXCLUDE_FROM_ALL)
|
||||
if (NOT MSVC)
|
||||
target_compile_options(capstone PRIVATE -Wno-unused-function)
|
||||
else()
|
||||
target_compile_options(capstone PRIVATE /wd4005)
|
||||
endif()
|
||||
set(CAPSTONE_LIBRARY "capstone")
|
||||
set(CAPSTONE_INCLUDE_DIR ${THIRD_PARTY_LIBS_FOLDER}/capstone/include)
|
||||
|
||||
Reference in New Issue
Block a user