If Windows and shared, force .dll extension.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2021-04-30 14:36:31 +02:00
parent fe523f6c0d
commit eb662cb2e4
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ if (WINDOWS)
ADD_DEFINITIONS(-D WINDOWS=1)
# -m64: Build a 64 bit library
add_compile_options(-m64)
if (SHARED)
set_target_properties(Arbutils PROPERTIES SUFFIX ".dll")
endif()
endif (WINDOWS)
if (CMAKE_BUILD_TYPE MATCHES "Debug")