[libxslt] Add xsltproc to CMake export



commit d631271346df7418ab531112e821e8ca1d181570
Author: Markus Rickert <rickert fortiss org>
Date:   Mon Dec 7 16:48:47 2020 +0100

    Add xsltproc to CMake export

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 13fef2a2..394cc578 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -364,7 +364,7 @@ endif()
 add_executable(xsltproc xsltproc/xsltproc.c)
 target_include_directories(xsltproc PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
 target_link_libraries(xsltproc LibExslt LibXslt)
-install(TARGETS        xsltproc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT programs)
+install(TARGETS xsltproc EXPORT LibXslt RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT programs)
 
 if(LIBXSLT_WITH_PYTHON)
        set(ENV{SRCDIR} ${CMAKE_CURRENT_SOURCE_DIR}/python)


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