build: Disable network tests in offline builds
This commit is contained in:
parent
f71fa2f704
commit
eae3cd99ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user