InfiniTime.git

commit 77d3239866419c2088a8d857130accb85dcc9657

Author: Riku Isokoski <riksu9000@gmail.com>

Use submodule for date lib

A directory has been renamed

 .gitmodules | 3 +++
 src/CMakeLists.txt | 18 +++++++++---------


diff --git a/.gitmodules b/.gitmodules
index 8d302ae72efa9201cff4671dbe4d4f6ad9c21eb4..3902644c43825afb7576b02b63bf5adb5f6cd860 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -7,3 +7,6 @@ 	url = https://github.com/littlefs-project/littlefs.git
 [submodule "src/libs/QCBOR"]
 	path = src/libs/QCBOR
 	url = https://github.com/laurencelundblade/QCBOR.git
+[submodule "src/libs/date"]
+	path = src/libs/date
+	url = https://github.com/HowardHinnant/date.git




diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 372e089e5f5895bd20cd7e05cf12015825513c1d..6069aca61ae5d0dbd89fb13e275b5081644e60df 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -652,14 +652,14 @@         components/alarm/AlarmController.h
         drivers/Cst816s.h
         FreeRTOS/portmacro.h
         FreeRTOS/portmacro_cmsis.h
-        libs/date/includes/date/tz.h
-        libs/date/includes/date/chrono_io.h
-        libs/date/includes/date/date.h
-        libs/date/includes/date/islamic.h
-        libs/date/includes/date/iso_week.h
-        libs/date/includes/date/julian.h
-        libs/date/includes/date/ptz.h
-        libs/date/includes/date/tz_private.h
+        libs/date/include/date/tz.h
+        libs/date/include/date/chrono_io.h
+        libs/date/include/date/date.h
+        libs/date/include/date/islamic.h
+        libs/date/include/date/iso_week.h
+        libs/date/include/date/julian.h
+        libs/date/include/date/ptz.h
+        libs/date/include/date/tz_private.h
         displayapp/LittleVgl.h
         displayapp/lv_pinetime_theme.h
         systemtask/SystemTask.h
@@ -682,7 +682,7 @@         .
         ../
         libs/
         FreeRTOS/
-        libs/date/includes
+        libs/date/include
         libs/mynewt-nimble/porting/npl/freertos/include
         libs/mynewt-nimble/nimble/include
         libs/mynewt-nimble/porting/nimble/include