aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cctz/CMakeLists.txt
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-06 18:33:33 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-06 18:33:33 +0300
commit40b71ca5f57840f038abe9fd4f0615f92b8dece8 (patch)
tree5a257c817c11203ee636535cace605aecca3c282 /contrib/libs/cctz/CMakeLists.txt
parent61b49a878a33977897d44f72118d6791ac3794fa (diff)
downloadydb-40b71ca5f57840f038abe9fd4f0615f92b8dece8.tar.gz
intermediate changes
ref:e8092279aeb152c7934ef72249a90434dbbe4318
Diffstat (limited to 'contrib/libs/cctz/CMakeLists.txt')
-rw-r--r--contrib/libs/cctz/CMakeLists.txt28
1 files changed, 5 insertions, 23 deletions
diff --git a/contrib/libs/cctz/CMakeLists.txt b/contrib/libs/cctz/CMakeLists.txt
index 379577bfa4..a681d385f3 100644
--- a/contrib/libs/cctz/CMakeLists.txt
+++ b/contrib/libs/cctz/CMakeLists.txt
@@ -6,26 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-cctz)
-target_include_directories(contrib-libs-cctz PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include
-)
-target_include_directories(contrib-libs-cctz PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include
-)
-target_link_libraries(contrib-libs-cctz PUBLIC
- contrib-libs-cxxsupp
-)
-target_sources(contrib-libs-cctz PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/civil_time_detail.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_fixed.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_format.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_if.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_impl.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_info.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_libc.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_lookup.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_posix.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/zone_info_source.cc
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()