提交 961987aa 编写于 作者: H Hongze Cheng

make compile

上级 b5e26c6e
......@@ -48,8 +48,8 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -gdwarf-2 -msse4.2 -mfma")
add_subdirectory(deps)
# api
aux_source_directory(include/client API_SRC)
add_library(api INTERFACE ${API_SRC})
add_library(api INTERFACE)
target_include_directories(api INTERFACE "include/client")
# src
add_subdirectory(source)
......
......@@ -9,5 +9,5 @@ target_link_libraries(
common
PUBLIC os
PUBLIC util
PUBLIC api
INTERFACE api
)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册