Skip to content
Snippets Groups Projects
Commit 5b956de2 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

WIP: warn user during cmake configuration that USE_EXTERNAL_ITK and...

WIP: warn user during cmake configuration that USE_EXTERNAL_ITK and USE_EXTERNAL_LIBKML does not match (bug 879/896)
parent 318cedef
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,13 @@ if(LIBKML_FOUND)
option(OTB_USE_EXTERNAL_LIBKML "Use external LibKML library." ON)
else()
option(OTB_USE_EXTERNAL_LIBKML "Use external LibKML library." OFF)
#Known issue in OTB which does not compile with external ITK and internal libkml
#Bugs 896: http://bugs.orfeo-toolbox.org/view.php?id=896
if (USE_EXTERNAL_ITK)
message(WARNING "There is a known issue which does not allow to use internal libKML with external ITK in OTB. You might consider using an external LibKML.")
endif()
set(LIBKML_LIBRARIES otbkml)
message(STATUS "Using LibKML internal version")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment