From 871dc01bb59bbb49257fb05c282906d084b687fd Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Tue, 21 Feb 2012 08:39:42 -0800 Subject: [PATCH] COMP: look for the numbered version before. --- CMake/ImportMapnik.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/ImportMapnik.cmake b/CMake/ImportMapnik.cmake index 454d658fdb..72ef4fb061 100644 --- a/CMake/ImportMapnik.cmake +++ b/CMake/ImportMapnik.cmake @@ -10,7 +10,7 @@ IF(OTB_USE_MAPNIK) FIND_PATH(MAPNIK_INCLUDE_DIR mapnik/map.hpp PATHS) MARK_AS_ADVANCED(MAPNIK_INCLUDE_DIR) - FIND_LIBRARY(MAPNIK_LIBRARY NAMES mapnik mapnik2) + FIND_LIBRARY(MAPNIK_LIBRARY NAMES mapnik2 mapnik) MARK_AS_ADVANCED(MAPNIK_LIBRARY) FIND_PATH(FREETYPE2_INCLUDE_DIR freetype/freetype.h PATHS /usr/include/freetype2) -- GitLab