diff options
Diffstat (limited to 'build_files/cmake/Modules/FindJack.cmake')
-rw-r--r-- | build_files/cmake/Modules/FindJack.cmake | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/build_files/cmake/Modules/FindJack.cmake b/build_files/cmake/Modules/FindJack.cmake index 0a8b77ce8fa..9a847fabf70 100644 --- a/build_files/cmake/Modules/FindJack.cmake +++ b/build_files/cmake/Modules/FindJack.cmake @@ -12,7 +12,7 @@ # JACK_LIBRARY, where to find the Jack library. #============================================================================= -# Copyright 2002-2009 Kitware, Inc. +# Copyright 2011 Blender Foundation. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. @@ -21,8 +21,6 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= -# (To distribute this file outside of CMake, substitute the full -# License text for the above reference.) # If JACK_ROOT_DIR was defined in the environment, use it. IF(NOT JACK_ROOT_DIR AND NOT $ENV{JACK_ROOT_DIR} STREQUAL "") @@ -37,7 +35,9 @@ SET(_jack_SEARCH_DIRS /opt/csw # Blastwave ) -FIND_PATH(JACK_INCLUDE_DIR jack.h +FIND_PATH(JACK_INCLUDE_DIR + NAMES + jack.h HINTS ${_jack_SEARCH_DIRS} PATH_SUFFIXES @@ -45,9 +45,12 @@ FIND_PATH(JACK_INCLUDE_DIR jack.h ) FIND_LIBRARY(JACK_LIBRARY - NAMES "jack" - HINTS ${_jack_SEARCH_DIRS} - PATH_SUFFIXES lib64 lib + NAMES + jack + HINTS + ${_jack_SEARCH_DIRS} + PATH_SUFFIXES + lib64 lib ) # handle the QUIETLY and REQUIRED arguments and set JACK_FOUND to TRUE if |