From 801f141b36976c8a7ea971198704a90fe3211fa3 Mon Sep 17 00:00:00 2001 From: Jou Ho Date: Thu, 26 Dec 2024 20:01:44 +0000 Subject: [PATCH] use ENV keyword to get env var --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()