Skip to content
Snippets Groups Projects
Commit 91fd7efc authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

BUG: To supress cmake error message if the EXPAT lib was not found.

parent a2c261f7
Branches
Tags
No related merge requests found
......@@ -292,6 +292,7 @@ LINK_DIRECTORIES( ${GDAL_LIBRARY_DIRS} )
#-------------------------------
SET(OTB_USE_EXTERNAL_EXPAT 1)
SET(EXPAT_FIND_REQUIRED 0) # To suppress cmake error message if not find
FIND_PACKAGE(EXPAT)
IF(EXPAT_FOUND)
# Control expat compatibility
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment