From fc2683c973c754a2f482a87b867ff0d9770fa7bf Mon Sep 17 00:00:00 2001 From: lazymio Date: Mon, 2 May 2022 23:34:08 +0200 Subject: [PATCH] Fix cmake typo to correctly only set archive output name --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d3a88de..25fe2658 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1362,7 +1362,7 @@ endif() if (BUILD_SHARED_LIBS) if (MSVC) # Avoid the import lib built by MVSC clash with our archive. - set_target_properties(unicorn PROPERTIES OUTPUT_NAME "unicorn-import") + set_target_properties(unicorn PROPERTIES ARCHIVE_OUTPUT_NAME "unicorn-import") endif() bundle_static_library(unicorn_static unicorn_archive unicorn) else()