refactor(confighttp): HTML page handlers into generic getPage function (#4645)
This commit is contained in:
@@ -79,6 +79,11 @@ list(APPEND TEST_DEFINITIONS SUNSHINE_TESTS)
|
||||
list(APPEND TEST_DEFINITIONS SUNSHINE_SOURCE_DIR="${CMAKE_SOURCE_DIR}")
|
||||
list(APPEND TEST_DEFINITIONS SUNSHINE_TEST_BIN_DIR="${CMAKE_CURRENT_BINARY_DIR}")
|
||||
|
||||
# Override SUNSHINE_ASSETS_DIR to use a writable temp directory for tests
|
||||
# Remove the existing definition from SUNSHINE_DEFINITIONS to avoid redefinition error
|
||||
list(FILTER SUNSHINE_DEFINITIONS EXCLUDE REGEX "^SUNSHINE_ASSETS_DIR=")
|
||||
list(APPEND TEST_DEFINITIONS SUNSHINE_ASSETS_DIR="${CMAKE_CURRENT_BINARY_DIR}/test_assets")
|
||||
|
||||
if(NOT WIN32)
|
||||
find_package(Udev 255) # we need 255+ for udevadm verify
|
||||
message(STATUS "UDEV_FOUND: ${UDEV_FOUND}")
|
||||
|
||||
Reference in New Issue
Block a user