Using the cmake variable will insure the proper value

regardless of the platform (already available in 2.0.7 version)
This commit is contained in:
David Carlier
2017-12-31 20:02:49 +00:00
committed by Lukas W
parent 96c5f05120
commit bd8c27249f

View File

@@ -381,7 +381,7 @@ IF(WANT_JACK)
SET(STATUS_JACK "OK (weak linking enabled)")
SET(JACK_INCLUDE_DIRS "")
# use dlsym instead
SET(JACK_LIBRARIES "dl")
SET(JACK_LIBRARIES ${CMAKE_DL_LIBS})
ELSE()
SET(STATUS_JACK "OK")
ENDIF()