mirror of https://github.com/bjornbytes/lovr.git
Set C standard version to C99 in CMakeLists;
This requires CMake 3.1.0.
This commit is contained in:
parent
05413adf74
commit
d5ed4aef43
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.0.0)
|
||||
cmake_minimum_required(VERSION 3.1.0)
|
||||
project(lovr)
|
||||
|
||||
# Setup
|
||||
|
@ -316,6 +316,7 @@ endif()
|
|||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||
add_executable(lovr ${LOVR_SRC})
|
||||
set_property(TARGET lovr PROPERTY C_STANDARD 99)
|
||||
target_link_libraries(lovr
|
||||
${LOVR_ASSIMP}
|
||||
${LOVR_ENET}
|
||||
|
|
Loading…
Reference in New Issue