Skip to content

Commit

Permalink
Set C standard to C11
Browse files Browse the repository at this point in the history
  • Loading branch information
svenklemm authored and RobAtticus committed Dec 20, 2018
1 parent 47293ec commit 937eefe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/build-defs.cmake
Expand Up @@ -4,6 +4,7 @@ if(NOT USE_DEFAULT_VISIBILITY)
endif()

if (UNIX)
set(CMAKE_C_STANDARD 11)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -L${PG_LIBDIR}")
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -L${PG_LIBDIR}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${PG_CFLAGS}")
Expand Down

0 comments on commit 937eefe

Please sign in to comment.