/[svn]/qsampler/trunk/CMakeLists.txt
ViewVC logotype

Diff of /qsampler/trunk/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3640 by capela, Wed Nov 13 19:46:13 2019 UTC revision 3641 by capela, Fri Nov 15 19:46:23 2019 UTC
# Line 109  find_package (PkgConfig REQUIRED) Line 109  find_package (PkgConfig REQUIRED)
109    
110  # Check for LSCP libraries.  # Check for LSCP libraries.
111  pkg_check_modules (LSCP REQUIRED lscp)  pkg_check_modules (LSCP REQUIRED lscp)
112  set (CONFIG_LIBLSCP ${LSCP_FOUND})  if (LSCP_FOUND)
113  if (CONFIG_LIBLSCP)    set (CONFIG_LIBLSCP 1)
114    include_directories (${LSCP_INCLUDE_DIRS})    include_directories (${LSCP_INCLUDE_DIRS})
115    link_directories (${LSCP_LIBRARY_DIRS})    link_directories (${LSCP_LIBRARY_DIRS})
116  # link_libraries (${LSCP_LIBRARIES})  # link_libraries (${LSCP_LIBRARIES})
# Line 177  if (CONFIG_LIBLSCP) Line 177  if (CONFIG_LIBLSCP)
177    check_function_exists (lscp_get_voices CONFIG_MAX_VOICES)    check_function_exists (lscp_get_voices CONFIG_MAX_VOICES)
178  else ()  else ()
179    message (FATAL_ERROR "*** LSCP library not found.")    message (FATAL_ERROR "*** LSCP library not found.")
180      set (CONFIG_LIBLSCP 0)
181  endif ()  endif ()
182    
183  # Check for GIG libraries.  # Check for GIG libraries.
184  if (CONFIG_LIBGIG)  if (CONFIG_LIBGIG)
185    pkg_check_modules (GIG gig>=3.3.0)    pkg_check_modules (GIG gig>=3.3.0)
186    set (CONFIG_LIBGIG ${GIG_FOUND})    if (GIG_FOUND)
   if (CONFIG_LIBGIG)  
187      include_directories (${GIG_INCLUDE_DIRS})      include_directories (${GIG_INCLUDE_DIRS})
188      link_directories (${GIG_LIBRARY_DIRS})      link_directories (${GIG_LIBRARY_DIRS})
189      link_libraries (${GIG_LIBRARIES})      link_libraries (${GIG_LIBRARIES})
# Line 199  if (CONFIG_LIBGIG) Line 199  if (CONFIG_LIBGIG)
199      endif ()      endif ()
200    else ()    else ()
201      message (WARNING "*** GIG library not found.")      message (WARNING "*** GIG library not found.")
202        set (CONFIG_LIBGIG 0)
203    endif ()    endif ()
204  endif ()  endif ()
205    

Legend:
Removed from v.3640  
changed lines
  Added in v.3641

  ViewVC Help
Powered by ViewVC