From 89aef33f0fa55ba2e9c97467fb73c967e7e07afb Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 11 May 2015 15:40:55 +0100 Subject: [PATCH] Added missing lines of FindJACK.cmake - now finds JACK successfully --- CMake/Modules/FindJACK.cmake | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CMake/Modules/FindJACK.cmake b/CMake/Modules/FindJACK.cmake index 64df2fadc5..a32cdf1946 100644 --- a/CMake/Modules/FindJACK.cmake +++ b/CMake/Modules/FindJACK.cmake @@ -52,6 +52,20 @@ else (JACK_LIBRARIES AND JACK_INCLUDE_DIRS) /sw/lib ) + if (JACK_LIBRARY AND JACK_INCLUDE_DIR) + set(JACK_FOUND TRUE) + + set(JACK_INCLUDE_DIRS + ${JACK_INCLUDE_DIR} + ) + + set(JACK_LIBRARIES + ${JACK_LIBRARIES} + ${JACK_LIBRARY} + ) + + endif (JACK_LIBRARY AND JACK_INCLUDE_DIR) + include(FindPackageHandleStandardArgs) find_package_handle_standard_args(JACK DEFAULT_MSG JACK_INCLUDE_DIRS JACK_LIBRARIES)