mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-12-01 01:10:29 +00:00
Change msvc ImportLib for static target to 'capstone_dll.lib'
This is the same as e268f46
changed in the vcxproj file.
This commit is contained in:
parent
9668b2641f
commit
c85e3c364e
@ -192,6 +192,10 @@ if (CAPSTONE_BUILD_SHARED)
|
||||
set_property(TARGET capstone-shared PROPERTY OUTPUT_NAME capstone)
|
||||
set_property(TARGET capstone-shared PROPERTY COMPILE_FLAGS -DCAPSTONE_SHARED)
|
||||
|
||||
if(MSVC)
|
||||
set_target_properties(capstone-shared PROPERTIES IMPORT_SUFFIX _dll.lib)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED default-target) # honor `capstone-static` for tests first.
|
||||
set(default-target capstone-shared)
|
||||
add_definitions(-DCAPSTONE_SHARED)
|
||||
|
Loading…
Reference in New Issue
Block a user