Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git] / buildtools / Cmake / Modules / FindGTnets.cmake
index 44eb7a8..338cb57 100644 (file)
@@ -1,30 +1,15 @@
 find_library(HAVE_GTNETS_LIB
     NAME gtnets
-    HINTS
-    $ENV{LD_LIBRARY_PATH}
-    $ENV{HOME}
     PATH_SUFFIXES lib64 lib lib64/gtnets lib/gtnets
     PATHS
-    /opt
-    /opt/local
-    /opt/csw
-    /sw
-    /usr
     ${gtnets_path}
 )
 
 find_path(HAVE_SIMULATOR_H
        NAME simulator.h
-    HINTS
-    $ENV{HOME}
-    $ENV{GTNETS_ROOT}
     PATH_SUFFIXES include include/gtnets
     PATHS
-    /opt
-    /opt/local
-    /opt/csw
-    /sw
-    /usr
+    ${gtnets_path}
 )
 
 string(REPLACE "/libgtnets.${LIB_EXE}" ""  GTNETS_LIB_PATH "${HAVE_GTNETS_LIB}")