Skip to content

Commit b778311

Browse files
committed
Add c99
1 parent 3697b4d commit b778311

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ include_directories(${MSGPUCK_INCLUDE_DIRS})
4141
# Find small library
4242
find_package(Small)
4343
if(NOT SMALL_FOUND)
44+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
4445
set(SMALL_EMBEDDED ON)
4546
add_subdirectory(${CMAKE_SOURCE_DIR}/third_party/small EXCLUDE_FROM_ALL)
4647
set(SMALL_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/third_party/small ${PROJECT_SOURCE_DIR}/third_party/small/third_party)

0 commit comments

Comments
 (0)