summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-06-07 10:39:15 +0000
committerManolo Gouy <Manolo>2016-06-07 10:39:15 +0000
commitcba54044a75b3502bbba508c911c7108f27a4039 (patch)
treec7d62a16bc7673b95c48f84c2fe4b32cff271ac2 /test
parent99941d13da778c1269546347b804c46b015ead2f (diff)
Fix building on FreeBSD that failed for test programs requiring audio output.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-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)
#######################################################################