Merge pull request #597 from jobn/cmakefindjack

Added missing lines of FindJACK.cmake - now finds JACK successfully
This commit is contained in:
Jason Felds
2015-05-11 16:59:02 -04:00
+14
View File
@@ -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)