add ARCHIVE DESTINATION in install step

This commit is contained in:
Konstantin Sorokin 2015-10-04 20:43:40 +03:00
parent fa34227d26
commit 3c60c9a2be

View File

@ -70,7 +70,8 @@ add_executable(zxing ${ZXING_FILES})
target_link_libraries(zxing libzxing)
install(TARGETS zxing libzxing
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin)
RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib)
install(DIRECTORY core/src/zxing/ DESTINATION include/zxing FILES_MATCHING PATTERN "*.h")
# Add testrunner executable.