mirror of
https://github.com/fumiama/CMoe-Counter.git
synced 2026-06-12 06:00:29 +08:00
fix(compile): remove c99 restriction
This commit is contained in:
@@ -5,10 +5,6 @@ SET(CMAKE_BUILD_TYPE "Release")
|
|||||||
include_directories("/usr/local/include")
|
include_directories("/usr/local/include")
|
||||||
link_directories("/usr/local/lib")
|
link_directories("/usr/local/lib")
|
||||||
|
|
||||||
#在编译选项中加入c99支持
|
|
||||||
add_compile_options(-std=c99)
|
|
||||||
message(STATUS "optional:-std=c99")
|
|
||||||
|
|
||||||
add_executable(cmoe cmoe.c)
|
add_executable(cmoe cmoe.c)
|
||||||
add_executable(cmoeditor editor.c)
|
add_executable(cmoeditor editor.c)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user