summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 0a5a2d696..082e097fc 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -8,6 +8,9 @@ elseif(APPLE)
set(AUDIOLIBS "-framework CoreAudio")
elseif(HAVE_ALSA_ASOUNDLIB_H)
set(AUDIOLIBS -lasound)
+ if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
+ list(INSERT AUDIOLIBS 0 "-L/usr/local/lib")
+ endif(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
endif(WIN32)
#######################################################################