1
0
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:
Davide Beatrici 2021-02-27 00:35:58 +01:00
parent 5cddafbb3b
commit 82f2c73ce9

View File

@ -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})