Commit cea74f5e authored by jcfr's avatar jcfr
Browse files

COMP: LibArchive - Install the DLL for windows build

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15617 3bd1e089-480b-0410-8dfb-8563597acbee
parent 5b60baec
......@@ -48,11 +48,7 @@ FUNCTION(slicerInstallLibrary)
${ARGN}
)
IF(WIN32)
INSTALL(FILES ${_slicerInstallLibrary_FILE}
DESTINATION ${_slicerInstallLibrary_DESTINATION}
COMPONENT ${_slicerInstallLibrary_COMPONENT})
ELSE()
IF(NOT WIN32)
GET_FILENAME_COMPONENT(dir_tmp ${_slicerInstallLibrary_FILE} PATH)
SET(name_tmp)
......
......@@ -132,11 +132,17 @@ ENDIF()
# Find and install LibArchive
# -------------------------------------------------------------------------
slicerInstallLibrary(
FILE ${LibArchive_LIBRARY}
DESTINATION ${Slicer_INSTALL_LIB_DIR}
COMPONENT Runtime
)
IF(WIN32)
INSTALL(FILES ${LibArchive_DIR}/bin/archive.dll
DESTINATION ${Slicer_INSTALL_LIB_DIR}
COMPONENT Runtime
)
ELSE()
slicerInstallLibrary(FILE ${LibArchive_LIBRARY}
DESTINATION ${Slicer_INSTALL_LIB_DIR}
COMPONENT Runtime
)
ENDIF()
# -------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment