mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-01-31 00:48:39 -06:00
build: Disable network tests in offline builds
This commit is contained in:
@@ -11,11 +11,6 @@ set(AVAILABLE_TESTS
|
||||
TestProvider_read
|
||||
TestProvider_write
|
||||
|
||||
# Net
|
||||
StoreAPI
|
||||
TipsAPI
|
||||
ContentAPI
|
||||
|
||||
# File
|
||||
FileAccess
|
||||
|
||||
@@ -25,6 +20,15 @@ set(AVAILABLE_TESTS
|
||||
ExtractBits
|
||||
)
|
||||
|
||||
if (NOT IMHEX_OFFLINE_BUILD)
|
||||
set(AVAILABLE_TESTS ${AVAILABLE_TESTS}
|
||||
# Net
|
||||
StoreAPI
|
||||
TipsAPI
|
||||
ContentAPI
|
||||
)
|
||||
endif ()
|
||||
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
source/common.cpp
|
||||
|
||||
Reference in New Issue
Block a user