[libxml2] Add xmlcatalog and xmllint to CMake export



commit d0ccb3a6b6b16e809982618bd41d9e919052a47d
Author: Markus Rickert <rickert fortiss org>
Date:   Sun Dec 6 17:25:52 2020 +0100

    Add xmlcatalog and xmllint to CMake export

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ac5fb43b..21a7871b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -528,7 +528,7 @@ if(LIBXML2_WITH_PROGRAMS)
                if(HAVE_LIBREADLINE)
                        target_link_libraries(${PROGRAM} readline)
                endif()
-               install(TARGETS ${PROGRAM} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT programs)
+               install(TARGETS ${PROGRAM} EXPORT LibXml2 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 
COMPONENT programs)
        endforeach()
 endif()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]