If Windows and shared, force .dll extension.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
fe523f6c0d
commit
eb662cb2e4
|
@ -42,6 +42,9 @@ if (WINDOWS)
|
||||||
ADD_DEFINITIONS(-D WINDOWS=1)
|
ADD_DEFINITIONS(-D WINDOWS=1)
|
||||||
# -m64: Build a 64 bit library
|
# -m64: Build a 64 bit library
|
||||||
add_compile_options(-m64)
|
add_compile_options(-m64)
|
||||||
|
if (SHARED)
|
||||||
|
set_target_properties(Arbutils PROPERTIES SUFFIX ".dll")
|
||||||
|
endif()
|
||||||
endif (WINDOWS)
|
endif (WINDOWS)
|
||||||
|
|
||||||
if (CMAKE_BUILD_TYPE MATCHES "Debug")
|
if (CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||||
|
|
Loading…
Reference in New Issue