summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-08-28 17:58:48 +0800
committerluwenpeng <[email protected]>2024-08-28 17:58:48 +0800
commit8755356749a4569e0d1b312bbce4150e0fa9449c (patch)
tree2064323e7faa15112ba929c12923c8fc7b50ab83
parente64da392bf32fcb8238c79b8883665b230aa5310 (diff)
refactor(infra/log): from *.cpp to *.c
-rw-r--r--infra/log/CMakeLists.txt2
-rw-r--r--infra/log/log.c (renamed from infra/log/log.cpp)0
2 files changed, 1 insertions, 1 deletions
diff --git a/infra/log/CMakeLists.txt b/infra/log/CMakeLists.txt
index 0cdd154..2a5ae39 100644
--- a/infra/log/CMakeLists.txt
+++ b/infra/log/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_library(log log.cpp)
+add_library(log log.c)
target_include_directories(log PUBLIC ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(log PUBLIC ${CMAKE_SOURCE_DIR}/include)
diff --git a/infra/log/log.cpp b/infra/log/log.c
index d627f35..d627f35 100644
--- a/infra/log/log.cpp
+++ b/infra/log/log.c