From 53ea50d1f345f68d860106dd19b12347e19fb20b Mon Sep 17 00:00:00 2001 From: NissimHadar Date: Fri, 5 Apr 2019 15:45:11 -0700 Subject: [PATCH] Use set_from_env macro. --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0fad5c10f1..551cfd2636 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,9 +53,7 @@ else() endif() # Use default time server if none defined in environment -if (NOT DEFINED TIMESERVER_URL) - set(TIMESERVER_URL "http://sha256timestamp.ws.symantec.com/sha256/timestamp") -endif() +set_from_env(TIMESERVER_URL TIMESERVER_URL "http://sha256timestamp.ws.symantec.com/sha256/timestamp") set(HIFI_USE_OPTIMIZED_IK OFF) set(BUILD_CLIENT_OPTION ON)