diff --git a/Sources/Testing/CMakeLists.txt b/Sources/Testing/CMakeLists.txt index 8fef166c7..a88dd4084 100644 --- a/Sources/Testing/CMakeLists.txt +++ b/Sources/Testing/CMakeLists.txt @@ -124,7 +124,8 @@ if(NOT APPLE) endif() target_link_libraries(Testing PUBLIC Foundation) - if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") + if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR + CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") target_link_libraries(Testing PUBLIC execinfo) endif() endif()