summaryrefslogtreecommitdiffstats
path: root/Modules/Findosg_functions.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-03-28 22:51:06 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2012-08-14 19:03:23 (GMT)
commitcfe4ac4b417b80fb657c8de3b43a29e12a558d82 (patch)
tree6ca43a847abcf2e4687f5d00e10673b9e429d5e4 /Modules/Findosg_functions.cmake
parentb04650e163320353762b6ec196afa9500345b5cd (diff)
downloadCMake-cfe4ac4b417b80fb657c8de3b43a29e12a558d82.zip
CMake-cfe4ac4b417b80fb657c8de3b43a29e12a558d82.tar.gz
CMake-cfe4ac4b417b80fb657c8de3b43a29e12a558d82.tar.bz2
use PATH_SUFFIXES to simplify find_* calls
Especially remove "lib64" when the given paths are all Unix ones and "lib" is also explicitely given. In that case CMake will search "lib64" anyway for platforms where it is known to make sense.
Diffstat (limited to 'Modules/Findosg_functions.cmake')
-rw-r--r--Modules/Findosg_functions.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Findosg_functions.cmake b/Modules/Findosg_functions.cmake
index e9a777d..3a8a0f5 100644
--- a/Modules/Findosg_functions.cmake
+++ b/Modules/Findosg_functions.cmake
@@ -54,7 +54,7 @@ function(OSG_FIND_LIBRARY module library)
ENV OSG_DIR
ENV OSGDIR
ENV OSG_ROOT
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib
PATHS
/sw # Fink
/opt/local # DarwinPorts
@@ -70,7 +70,7 @@ function(OSG_FIND_LIBRARY module library)
ENV OSG_DIR
ENV OSGDIR
ENV OSG_ROOT
- PATH_SUFFIXES lib64 lib
+ PATH_SUFFIXES lib
PATHS
/sw # Fink
/opt/local # DarwinPorts