diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2012-03-29 00:51:06 +0200 |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2012-08-14 21:03:23 +0200 |
commit | cfe4ac4b417b80fb657c8de3b43a29e12a558d82 (patch) | |
tree | 6ca43a847abcf2e4687f5d00e10673b9e429d5e4 /Modules/FindProducer.cmake | |
parent | b04650e163320353762b6ec196afa9500345b5cd (diff) | |
download | cmake-cfe4ac4b417b80fb657c8de3b43a29e12a558d82.tar.gz |
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/FindProducer.cmake')
-rw-r--r-- | Modules/FindProducer.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindProducer.cmake b/Modules/FindProducer.cmake index 0de8532d92..30990629b2 100644 --- a/Modules/FindProducer.cmake +++ b/Modules/FindProducer.cmake @@ -65,7 +65,7 @@ find_library(PRODUCER_LIBRARY ENV PRODUCER_DIR ENV OSG_DIR ENV OSGDIR - PATH_SUFFIXES lib64 lib + PATH_SUFFIXES lib PATHS /sw /opt/local |