From 78e1c9e63ac0e820163419822f0914f4d94026b3 Mon Sep 17 00:00:00 2001 From: navarro Date: Mon, 26 Mar 2012 15:12:15 +0200 Subject: [PATCH] Only search on given path --- buildtools/Cmake/Modules/FindGTnets.cmake | 10 ---------- buildtools/Cmake/Modules/FindNS3.cmake | 15 --------------- 2 files changed, 25 deletions(-) diff --git a/buildtools/Cmake/Modules/FindGTnets.cmake b/buildtools/Cmake/Modules/FindGTnets.cmake index fc709ea7b3..338cb571dd 100644 --- a/buildtools/Cmake/Modules/FindGTnets.cmake +++ b/buildtools/Cmake/Modules/FindGTnets.cmake @@ -2,11 +2,6 @@ find_library(HAVE_GTNETS_LIB NAME gtnets PATH_SUFFIXES lib64 lib lib64/gtnets lib/gtnets PATHS - /opt - /opt/local - /opt/csw - /sw - /usr ${gtnets_path} ) @@ -14,11 +9,6 @@ find_path(HAVE_SIMULATOR_H NAME simulator.h PATH_SUFFIXES include include/gtnets PATHS - /opt - /opt/local - /opt/csw - /sw - /usr ${gtnets_path} ) diff --git a/buildtools/Cmake/Modules/FindNS3.cmake b/buildtools/Cmake/Modules/FindNS3.cmake index 65882f3d2b..504415faba 100644 --- a/buildtools/Cmake/Modules/FindNS3.cmake +++ b/buildtools/Cmake/Modules/FindNS3.cmake @@ -2,11 +2,6 @@ find_library(HAVE_NS3_LIB NAME ns3 PATH_SUFFIXES lib64 lib ns3/lib PATHS - /opt - /opt/local - /opt/csw - /sw - /usr ${ns3_path} ) @@ -14,11 +9,6 @@ find_library(HAVE_NS3_CORE_LIB NAME ns3-core PATH_SUFFIXES lib64 lib ns3/lib PATHS - /opt - /opt/local - /opt/csw - /sw - /usr ${ns3_path} ) @@ -26,11 +16,6 @@ find_path(HAVE_CORE_MODULE_H NAME ns3/core-module.h PATH_SUFFIXES include ns3/include PATHS - /opt - /opt/local - /opt/csw - /sw - /usr ${ns3_path} ) -- 2.20.1