mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Minor change in shared library naming on Linux
This commit is contained in:
parent
04ae896457
commit
6383f0c800
@ -73,8 +73,8 @@ macro(csfml_add_library target)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# set the version and soversion of the target (for compatible systems -- mostly Linuxes)
|
# set the version and soversion of the target (for compatible systems -- mostly Linuxes)
|
||||||
set_target_properties(${target} PROPERTIES SOVERSION ${VERSION_MAJOR}.${VERSION_MINOR})
|
set_target_properties(${target} PROPERTIES SOVERSION ${VERSION_MAJOR})
|
||||||
set_target_properties(${target} PROPERTIES VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
set_target_properties(${target} PROPERTIES VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
|
||||||
|
|
||||||
# for gcc 4.x on Windows, apply the STATIC_STD_LIBS option if it is enabled
|
# for gcc 4.x on Windows, apply the STATIC_STD_LIBS option if it is enabled
|
||||||
if(WINDOWS AND COMPILER_GCC AND STATIC_STD_LIBS)
|
if(WINDOWS AND COMPILER_GCC AND STATIC_STD_LIBS)
|
||||||
|
@ -123,8 +123,8 @@ macro(sfml_add_library target)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# set the version and soversion of the target (for compatible systems -- mostly Linuxes)
|
# set the version and soversion of the target (for compatible systems -- mostly Linuxes)
|
||||||
set_target_properties(${target} PROPERTIES SOVERSION ${VERSION_MAJOR}.${VERSION_MINOR})
|
set_target_properties(${target} PROPERTIES SOVERSION ${VERSION_MAJOR})
|
||||||
set_target_properties(${target} PROPERTIES VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
set_target_properties(${target} PROPERTIES VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
|
||||||
|
|
||||||
# for gcc 4.x on Windows, apply the STATIC_STD_LIBS option if it is enabled
|
# for gcc 4.x on Windows, apply the STATIC_STD_LIBS option if it is enabled
|
||||||
if(WINDOWS AND COMPILER_GCC AND STATIC_STD_LIBS)
|
if(WINDOWS AND COMPILER_GCC AND STATIC_STD_LIBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user