mirror of
https://github.com/fumiama/CMoe-Counter.git
synced 2024-11-24 06:10:11 +01:00
Update CMakeLists.txt
This commit is contained in:
parent
376aacd714
commit
7a12215354
@ -5,6 +5,10 @@ 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)
|
||||||
|
|
||||||
target_link_libraries(cmoe spb)
|
target_link_libraries(cmoe spb)
|
||||||
|
Loading…
Reference in New Issue
Block a user