Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7509 - /trunk/libzypp/cmake/modules/FindSatsolver.cmake
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Fri, 12 Oct 2007 18:00:16 -0000
  • Message-id: <20071012180016.336A145572@xxxxxxxxxxxxxxxx>
Author: mlandres
Date: Fri Oct 12 20:00:15 2007
New Revision: 7509

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7509&view=rev
Log:
find libsatsolver.la

Modified:
    trunk/libzypp/cmake/modules/FindSatsolver.cmake

Modified: trunk/libzypp/cmake/modules/FindSatsolver.cmake
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/cmake/modules/FindSatsolver.cmake?rev=7509&r1=7508&r2=7509&view=diff
==============================================================================
--- trunk/libzypp/cmake/modules/FindSatsolver.cmake (original)
+++ trunk/libzypp/cmake/modules/FindSatsolver.cmake Fri Oct 12 20:00:15 2007
@@ -12,12 +12,20 @@
        /usr/local/include
 )
 
-FIND_LIBRARY(SATSOLVER_LIBRARY NAMES satsolver0
+FIND_FILE(SATSOLVER_LIBRARY libsatsolver.la
        PATHS
-       /usr/lib
-       /usr/local/lib
+        /usr/lib64
+        /usr/local/lib64
+        /usr/lib
+        /usr/local/lib
 )
 
+#FIND_LIBRARY(SATSOLVER_LIBRARY NAMES satsolver
+#      PATHS
+#      /usr/lib
+#      /usr/local/lib
+#)
+
 if(SATSOLVER_INCLUDE_DIR AND SATSOLVER_LIBRARY)
    MESSAGE( STATUS "satsolver found: includes in ${SATSOLVER_INCLUDE_DIR}, library in ${SATSOLVER_LIBRARY}")
    set(SATSOLVER_FOUND TRUE)
@@ -27,4 +35,4 @@
    MESSAGE( STATUS "** (http://svn.opensuse.org/svn/zypp/trunk/sat-solver)")
 endif(SATSOLVER_INCLUDE_DIR AND SATSOLVER_LIBRARY)
 
-MARK_AS_ADVANCED(SATSOLVER_INCLUDE_DIR SATSOLVER_LIBRARY)
\ No newline at end of file
+MARK_AS_ADVANCED(SATSOLVER_INCLUDE_DIR SATSOLVER_LIBRARY)

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages