diff --git a/CMakeLists.txt b/CMakeLists.txt index a56871fbece..f6f34b71b2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -679,7 +679,7 @@ if (BUILD_TESTING) target_link_libraries(fuzztest PUBLIC ${PROJECT_NAME}) # Set default values for fuzzing if not defined - if(NOT DEFINED FUZZ_TIMEOUT_SEC) + if(NOT DEFINED ENV{FUZZ_TIMEOUT_SEC}) set(FUZZ_TIMEOUT_SEC 60) endif()