about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--absl/time/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 52acb361ffa8..15e3d9d5c168 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,7 @@ endif()
 # commented: used only for standalone test
 #add_subdirectory(cctz)
 #add_subdirectory(googletest)
-check_target({${CCTZ_TARGET})
+check_target(${ABSL_CCTZ_TARGET})
 
 ## check targets
 if(BUILD_TESTING)
diff --git a/absl/time/CMakeLists.txt b/absl/time/CMakeLists.txt
index 5ee5d0b35534..e7af9ca36610 100644
--- a/absl/time/CMakeLists.txt
+++ b/absl/time/CMakeLists.txt
@@ -32,7 +32,7 @@ list(APPEND TIME_SRC
   ${TIME_PUBLIC_HEADERS}
   ${TIME_INTERNAL_HEADERS}
 )
-set(TIME_PUBLIC_LIBRARIES absl::base absl::stacktrace absl::int128 {CCTZ_TARGET})
+set(TIME_PUBLIC_LIBRARIES absl::base absl::stacktrace absl::int128 {ABSL_CCTZ_TARGET})
 
 absl_library(
   TARGET