Remove TinyXML from list of headers to be installed

This commit is contained in:
Roland Kaufmann 2013-01-23 09:08:42 +01:00
parent e951358d0b
commit 52304ef5e3

View File

@ -127,6 +127,10 @@ if (TinyXML_FOUND)
endforeach (_file)
endif (TinyXML_FOUND)
# anyhow remove it from the header list (so it doesn't get installed)
list (REMOVE_ITEM opmcore_HEADERS "opm/core/utility/parameters/tinyxml/tinystr.h")
list (REMOVE_ITEM opmcore_HEADERS "opm/core/utility/parameters/tinyxml/tinyxml.h")
# HAVE_ERT is used as an #ifdef, not as an #if in the source code, if it
# is not true, then it should be unset altogether
if (NOT HAVE_ERT)