mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-26 01:59:53 +03:00
CMake: Explicitly set C standard to 99
This change fixes our Ubuntu Trusty and Precise builds on GitLab, which currently fail because they use C89/90 by default.
This commit is contained in:
parent
5cddafbb3b
commit
82f2c73ce9
@ -11,6 +11,8 @@ project("SoftEther VPN"
|
||||
LANGUAGES C
|
||||
)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
||||
set(TOP_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||
set(BUILD_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user