From a3935aedcdb074728da2887d113847461b4e76d2 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Sun, 5 May 2019 11:15:30 +0200 Subject: [PATCH] chore(CMakeLists): fix install --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 33cac3ee2d..4d9c09d0d2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -488,7 +488,7 @@ if (NOT("${CROSS_COMPILE}" MATCHES "ON")) target_link_libraries(leanshared leanstatic) install(TARGETS leanshared DESTINATION lib) endif() - install(FILES libleanstatic.a DESTINATION lib) + install(TARGETS leanstatic DESTINATION lib) endif() add_subdirectory(shell)