From de6fe1f3e1afb8fe00b3cc3583e6843863ab9794 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Fri, 28 Jun 2024 16:37:32 -0400 Subject: [PATCH] tests: fix compilation of tests on OpenBSD --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 25a9befdc..8eb04e537 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -201,7 +201,7 @@ if(ICONV_LIBRARY) list(APPEND EXTRA_LIBS ${ICONV_LIBRARY}) endif() -if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") +if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") list(APPEND EXTRA_LIBS "intl") if(HAVE_BACKTRACE) list(APPEND EXTRA_LIBS "execinfo")