SHA256
1
0
forked from pool/SDL_bgi
SDL_bgi/sdlbgi-cmake.diff

23 lines
667 B
Diff

Add some library versioning.
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: SDL_bgi-2.6.0/CMakeLists.txt
===================================================================
--- SDL_bgi-2.6.0.orig/CMakeLists.txt
+++ SDL_bgi-2.6.0/CMakeLists.txt
@@ -32,8 +32,9 @@ include_directories (src)
# Create shared library
add_library (${PROJECT_NAME} SHARED ${SOURCES})
+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse9)
# 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}