Mercurial > hg > orthanc-postgresql
changeset 145:172ae96e853a
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Aug 2017 17:54:52 +0200 (2017-08-24) |
parents | d7cae66abeb6 |
children | 1149cefd1cee |
files | Resources/CMake/PostgreSQLConfiguration.cmake |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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")