mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-07 07:30:02 +01:00
Set VERSION and SOVERSION for shared libraries
Required by the RPM builds for Fedora:
b7c49ac115
This commit is contained in:
parent
3148382fa8
commit
847edf4548
@ -38,8 +38,19 @@ target_include_directories(SoundTouch PUBLIC
|
|||||||
target_compile_definitions(SoundTouch PRIVATE ${COMPILE_DEFINITIONS})
|
target_compile_definitions(SoundTouch PRIVATE ${COMPILE_DEFINITIONS})
|
||||||
target_compile_options(SoundTouch PRIVATE ${COMPILE_OPTIONS})
|
target_compile_options(SoundTouch PRIVATE ${COMPILE_OPTIONS})
|
||||||
|
|
||||||
if(WIN32 AND BUILD_SHARED_LIBS)
|
if(BUILD_SHARED_LIBS)
|
||||||
set_target_properties(SoundTouch PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
|
set_target_properties(SoundTouch PROPERTIES
|
||||||
|
VERSION ${CMAKE_PROJECT_VERSION}
|
||||||
|
)
|
||||||
|
if(WIN32)
|
||||||
|
set_target_properties(SoundTouch PROPERTIES
|
||||||
|
WINDOWS_EXPORT_ALL_SYMBOLS TRUE
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
set_target_properties(SoundTouch PROPERTIES
|
||||||
|
SOVERSION ${PROJECT_VERSION_MAJOR}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(INTEGER_SAMPLES "Use integers instead of floats for samples" OFF)
|
option(INTEGER_SAMPLES "Use integers instead of floats for samples" OFF)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user