cmake: fixed error 'install TARGETS given no ARCHIVE DESTINATION for static library target'

This commit is contained in:
Sergei Nikulov 2014-01-10 10:47:33 +04:00
parent ab07f7220d
commit 1904f90284

View File

@ -674,6 +674,7 @@ if(MSVC)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
install(TARGETS libzmq libzmq-static
RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib
PUBLIC_HEADER DESTINATION include
COMPONENT SDK)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lib/libzmq${_zmq_COMPILER}-mt-gd-${ZMQ_VERSION_MAJOR}_${ZMQ_VERSION_MINOR}_${ZMQ_VERSION_PATCH}.pdb DESTINATION lib