6cf6897
diff -up kdeedu-4.2.0/cmake/modules/FindINDI.cmake.nodrivers kdeedu-4.2.0/cmake/modules/FindINDI.cmake
6cf6897
--- kdeedu-4.2.0/cmake/modules/FindINDI.cmake.nodrivers	2008-10-30 09:14:46.000000000 -0500
6cf6897
+++ kdeedu-4.2.0/cmake/modules/FindINDI.cmake	2009-02-09 13:57:44.000000000 -0600
6cf6897
@@ -11,14 +11,14 @@
6cf6897
 # Redistribution and use is allowed according to the terms of the BSD license.
6cf6897
 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
6cf6897
 
6cf6897
-if (INDI_INCLUDE_DIR AND INDI_LIBRARIES AND INDI_DRIVER_LIBRARIES)
6cf6897
+if (INDI_INCLUDE_DIR AND INDI_LIBRARIES)
6cf6897
 
6cf6897
   # in cache already
6cf6897
   set(INDI_FOUND TRUE)
6cf6897
   message(STATUS "Found INDI: ${INDI_LIBRARIES}")
6cf6897
 
6cf6897
 
6cf6897
-else (INDI_INCLUDE_DIR AND INDI_LIBRARIES AND INDI_DRIVER_LIBRARIES)
6cf6897
+else (INDI_INCLUDE_DIR AND INDI_LIBRARIES)
6cf6897
 
6cf6897
   find_path(INDI_INCLUDE_DIR indidevapi.h
6cf6897
     PATH_SUFFIXES libindi
6cf6897
@@ -26,28 +26,22 @@ else (INDI_INCLUDE_DIR AND INDI_LIBRARIE
6cf6897
     ${GNUWIN32_DIR}/include
6cf6897
   )
6cf6897
 
6cf6897
-  find_library(INDI_DRIVER_LIBRARIES NAMES indidriver
6cf6897
-    PATHS
6cf6897
-    ${_obLinkDir}
6cf6897
-    ${GNUWIN32_DIR}/lib
6cf6897
-  )
6cf6897
-
6cf6897
   find_library(INDI_LIBRARIES NAMES indi
6cf6897
     PATHS
6cf6897
     ${_obLinkDir}
6cf6897
     ${GNUWIN32_DIR}/lib
6cf6897
   )
6cf6897
 
6cf6897
-  if(INDI_INCLUDE_DIR AND INDI_LIBRARIES AND INDI_DRIVER_LIBRARIES)
6cf6897
+  if(INDI_INCLUDE_DIR AND INDI_LIBRARIES)
6cf6897
     set(INDI_FOUND TRUE)
6cf6897
-  else (INDI_INCLUDE_DIR AND INDI_LIBRARIES AND INDI_DRIVER_LIBRARIES)
6cf6897
+  else (INDI_INCLUDE_DIR AND INDI_LIBRARIES)
6cf6897
     set(INDI_FOUND FALSE)
6cf6897
-  endif(INDI_INCLUDE_DIR AND INDI_LIBRARIES AND INDI_DRIVER_LIBRARIES)
6cf6897
+  endif(INDI_INCLUDE_DIR AND INDI_LIBRARIES)
6cf6897
 
6cf6897
 
6cf6897
   if (INDI_FOUND)
6cf6897
     if (NOT INDI_FIND_QUIETLY)
6cf6897
-      message(STATUS "Found INDI: ${INDI_LIBRARIES}, ${INDI_DRIVER_LIBRARIES}")
6cf6897
+      message(STATUS "Found INDI: ${INDI_LIBRARIES}")
6cf6897
     endif (NOT INDI_FIND_QUIETLY)
6cf6897
   else (INDI_FOUND)
6cf6897
     if (INDI_FIND_REQUIRED)
6cf6897
@@ -55,6 +49,6 @@ else (INDI_INCLUDE_DIR AND INDI_LIBRARIE
6cf6897
     endif (INDI_FIND_REQUIRED)
6cf6897
   endif (INDI_FOUND)
6cf6897
 
6cf6897
-  mark_as_advanced(INDI_INCLUDE_DIR INDI_LIBRARIES INDI_DRIVER_LIBRARIES)
6cf6897
+  mark_as_advanced(INDI_INCLUDE_DIR INDI_LIBRARIES)
6cf6897
 
6cf6897
-endif (INDI_INCLUDE_DIR AND INDI_LIBRARIES AND INDI_DRIVER_LIBRARIES)
6cf6897
+endif (INDI_INCLUDE_DIR AND INDI_LIBRARIES)