Skip to content

Commit

Permalink
Adds C99 requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
BorjaOuterelo committed Jun 5, 2018
1 parent 0061c9a commit 2047be9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ endif()

# Library
add_library(${PROJECT_NAME} src/c/microcdr.c)
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION})
set_target_properties(${PROJECT_NAME} PROPERTIES
VERSION ${PROJECT_VERSION}
C_STANDARD 99
C_STANDARD_REQUIRED YES
)

# Define public headers
target_include_directories(${PROJECT_NAME}
Expand Down

0 comments on commit 2047be9

Please sign in to comment.