File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ if(NOT TARGET redasm::redasm)
66 find_package (redasm REQUIRED )
77endif ()
88
9- if (MSVC AND CMAKE_BUILD_TYPE STREQUAL "Debug" )
10- add_compile_options (/fsanitize=address )
11- endif ()
12-
139include (cmake/Dependencies.cmake )
1410setup_dependencies ()
1511
Original file line number Diff line number Diff line change @@ -4,5 +4,16 @@ find_package(Qt6 REQUIRED COMPONENTS Widgets)
44qt_standard_project_setup ()
55
66function (setup_dependencies )
7- CPMAddPackage ("gh:Dax89/QHexView#master" )
7+ set (QHEXVIEW_OPTIONS "QHEXVIEW_BUILD_EXAMPLE OFF" )
8+
9+ if (CMAKE_BUILD_TYPE STREQUAL "Debug" )
10+ list (APPEND QHEXVIEW_OPTIONS "QHEXVIEW_ASAN ON" )
11+ endif ()
12+
13+ CPMAddPackage (
14+ NAME QHexView
15+ GIT_TAG "master"
16+ GITHUB_REPOSITORY "Dax89/QHexView"
17+ OPTIONS ${QHEXVIEW_OPTIONS}
18+ )
819endfunction ()
You can’t perform that action at this time.
0 commit comments