# HG changeset patch # User Sebastien Jodogne # Date 1503590092 -7200 # Node ID 172ae96e853a324b3049e1d50b358d772810a0de # Parent d7cae66abeb6e45e769912cfb6c90b72ecf9c634 fix diff -r d7cae66abeb6 -r 172ae96e853a Resources/CMake/PostgreSQLConfiguration.cmake --- a/Resources/CMake/PostgreSQLConfiguration.cmake Thu Aug 24 01:52:57 2017 +0200 +++ b/Resources/CMake/PostgreSQLConfiguration.cmake Thu Aug 24 17:54:52 2017 +0200 @@ -157,7 +157,8 @@ file(READ ${CMAKE_SOURCE_DIR}/Resources/Platforms/printf_archetype.c SOURCE) check_c_source_compiles("${SOURCE}" printf_archetype) if (printf_archetype AND - NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") + NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND + NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") set(PG_PRINTF_ATTRIBUTE "gnu_printf") else() set(PG_PRINTF_ATTRIBUTE "printf")