summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2019-09-29 19:35:38 +0200
committerMarcus Müller <mmueller@gnuradio.org>2019-09-29 19:36:03 +0200
commitfeb5037411440c23f89bc40a2112ef75db70a1fd (patch)
tree32573a838b95243d91f30dc1516494c7434b3619 /cmake/Modules
parentf6dabe493ea36d469615052fa80e3234cf5c862b (diff)
FindLOG4CPP: canonical path ordering
That means: * /usr first, * /usr/local second, * /opt only as testament to the fact that there's hilariously non-standard installations. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/FindLOG4CPP.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/Modules/FindLOG4CPP.cmake b/cmake/Modules/FindLOG4CPP.cmake
index b28d734f4a..3c1f2bdc5d 100644
--- a/cmake/Modules/FindLOG4CPP.cmake
+++ b/cmake/Modules/FindLOG4CPP.cmake
@@ -12,15 +12,15 @@ if (LOG4CPP_INCLUDE_DIR)
endif ()
find_path(LOG4CPP_INCLUDE_DIR log4cpp/Category.hh
- /opt/local/include
- /usr/local/include
/usr/include
+ /usr/local/include
+ /opt/local/include
)
set(LOG4CPP_NAMES log4cpp)
find_library(LOG4CPP_LIBRARY
NAMES ${LOG4CPP_NAMES}
- PATHS /usr/lib /usr/local/lib /opt/local/lib /usr/lib64 /usr/local/lib64
+ PATHS /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64 /opt/local/lib /opt/local/lib64
)