Fix cmake typo to correctly only set archive output name

This commit is contained in:
lazymio 2022-05-02 23:34:08 +02:00
parent 9691059c5b
commit fc2683c973
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873

View File

@ -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()