← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3718: add a cmake path for metis.h on wheezy

 

------------------------------------------------------------
revno: 3718
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
timestamp: Fri 2013-08-30 15:49:57 +0200
message:
  add a cmake path for metis.h on wheezy
modified:
  cMake/FindMetis.cmake


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'cMake/FindMetis.cmake'
--- cMake/FindMetis.cmake	2013-06-26 18:15:55 +0000
+++ cMake/FindMetis.cmake	2013-08-30 13:49:57 +0000
@@ -5,8 +5,8 @@
 #  METIS_LIBRARY, libraries to link against to use GL2PS.
 #  METIS_FOUND, If false, do not try to use GL2PS.
 
-FIND_PATH(METIS_INCLUDE_DIR metis.h)
-FIND_LIBRARY(METIS_LIBRARY NAMES metis )
+FIND_PATH(METIS_INCLUDE_DIR metis.h PATHS /usr/include/metis)
+FIND_LIBRARY(METIS_LIBRARY NAMES metis PATHS /usr/lib)
 
 # handle the QUIETLY and REQUIRED arguments and set LOKI_FOUND to TRUE if
 # all listed variables are TRUE