diff --git a/plugins/twitch/CMakeLists.txt b/plugins/twitch/CMakeLists.txt index 0667809f..d1d67b68 100644 --- a/plugins/twitch/CMakeLists.txt +++ b/plugins/twitch/CMakeLists.txt @@ -31,7 +31,8 @@ if(NOT ZLIB_FOUND) endif() set(DATE_LIB_DIR "${ADVSS_SOURCE_DIR}/deps/date") -if(EXISTS "${DATE_LIB_DIR}/CMakeLists.txt") +if(EXISTS "${DATE_LIB_DIR}/CMakeLists.txt" + AND NOT DISABLE_TWITCH_TIMESTAMP_VERIFICATION) set(BUILD_TZ_LIB ON) if(OS_WINDOWS) if(CURL_FOUND AND TARGET CURL::libcurl)