Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
SDL_bgi
sdlbgi-cmake.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sdlbgi-cmake.diff of Package SDL_bgi
Add some library versioning. --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) Index: SDL_bgi-2.4.1/CMakeLists.txt =================================================================== --- SDL_bgi-2.4.1.orig/CMakeLists.txt +++ SDL_bgi-2.4.1/CMakeLists.txt @@ -21,9 +21,6 @@ include_directories (SDL_bgi ${SDL2_INCL # Default install directory variables include (GNUInstallDirs) -# fix stupid bug on Linux -string (STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES) - # Find source files file (GLOB SOURCES src/*.c) @@ -32,8 +29,9 @@ include_directories (src) # Create shared library add_library (${PROJECT_NAME} SHARED ${SOURCES}) +set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse6) # fix provided by Austin Hurst -target_link_libraries (SDL_bgi ${SDL2_LIBRARIES}) +target_link_libraries (SDL_bgi -lm ${SDL2_LIBRARIES}) # Install library install (TARGETS ${PROJECT_NAME}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor