Jan Engelhardt
00cb74cdd0
OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=62
23 lines
667 B
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}
|