From 680426100d82ebdd7ed578f6ee25fe061640b044 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 2aba8edf4..1256d4c3a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -200,7 +200,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")