From 3c60c9a2be96b098f1ed5f8d99a29aeed8ccc3cb Mon Sep 17 00:00:00 2001 From: Konstantin Sorokin Date: Sun, 4 Oct 2015 20:43:40 +0300 Subject: [PATCH] add ARCHIVE DESTINATION in install step --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7151d90..1a8e649 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.