From 3431e8e6663b90c8c6c63d08fdfa25f555a3d238 Mon Sep 17 00:00:00 2001 From: Bryan Everly Date: Fri, 11 Sep 2015 08:54:40 -0400 Subject: [PATCH] Updated OpenBSD changes --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67c7261e5..83368c102 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -381,7 +381,8 @@ endif(APPLE) # OpenBSD if(OPENBSD) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -L/usr/local/lib") + LINK_DIRECTORIES(/usr/local/lib) + TARGET_LINK_LIBRARIES(execinfo) set(WITH_MANPAGES "ON") set(WITH_ALSA "OFF") set(WITH_PULSE "ON")