From e1ffc58ab9abf6321f92a6b648d6f8da08b0924d Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Wed, 19 Jan 2022 13:33:32 +0100 Subject: CMakeLists: Bring back ARCHIVE DESTINATION in install() The older CMake used by LGTM is still unhappy without it. (See also recent changes to this file.) --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd5f1dca..c4e97673 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -316,7 +316,8 @@ endif() # Configure installation install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}Targets - ARCHIVE LIBRARY RUNTIME + LIBRARY RUNTIME + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} INCLUDES DESTINATION ${${PROJECT_NAME}_INSTALL_INCLUDEDIR} ) install(DIRECTORY lib/ DESTINATION ${${PROJECT_NAME}_INSTALL_INCLUDEDIR} -- cgit v1.2.3