Skip to content

Commit d1a012e

Browse files
committed
build: add IMHEX_BUILD_UPDATER option
It is a self-updater which many Linux distributions don't want. It does not support all architectures and fails builds on those architectures. Signed-off-by: xtex <[email protected]>
1 parent a16e168 commit d1a012e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ option(IMHEX_ENABLE_PRECOMPILED_HEADERS "Enable precompiled headers"
1919
option(IMHEX_ENABLE_CXX_MODULES "Enable C++20 Module compilation. Testing only!" OFF)
2020
option(IMHEX_ENABLE_CPPCHECK "Enable cppcheck static analysis" OFF)
2121
option(IMHEX_BUNDLE_PLUGIN_SDK "Enable bundling of Plugin SDK into install package" ON )
22+
option(IMHEX_BUILD_UPDATER "Build ImHex updater" ON )
2223
## Testing
2324
option(IMHEX_ENABLE_UNIT_TESTS "Enable building unit tests" ON )
2425
option(IMHEX_ENABLE_IMGUI_TEST_ENGINE "Enable the ImGui Test Engine" OFF)

main/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ if (WIN32)
99
add_subdirectory(forwarder)
1010
endif ()
1111

12-
if (NOT EMSCRIPTEN)
12+
if (IMHEX_BUILD_UPDATER AND NOT EMSCRIPTEN)
1313
add_subdirectory(updater)
1414
endif ()

0 commit comments

Comments
 (0)