mirror of
https://github.com/fumiama/simple-dict.git
synced 2026-06-05 18:20:26 +08:00
fix pthread
This commit is contained in:
@@ -14,8 +14,8 @@ include_directories("/usr/local/include")
|
||||
link_directories("/usr/local/lib")
|
||||
|
||||
#在编译选项中加入c99支持
|
||||
add_compile_options(-std=c99)
|
||||
message(STATUS "optional:-std=c99")
|
||||
add_compile_options(-std=gnu99)
|
||||
message(STATUS "optional:-std=gnu99")
|
||||
|
||||
add_executable(simple-dict-server server.c dict.c crypto.c)
|
||||
add_executable(simple-dict-client client.c crypto.c)
|
||||
|
||||
Reference in New Issue
Block a user