2020-02-20 17:06:35 +01:00
|
|
|
|
2020-08-11 14:09:22 +02:00
|
|
|
Add some library versioning.
|
2020-02-20 17:06:35 +01:00
|
|
|
|
|
|
|
---
|
2022-06-01 12:42:15 +02:00
|
|
|
CMakeLists.txt | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
2020-02-20 17:06:35 +01:00
|
|
|
|
2022-06-01 12:42:15 +02:00
|
|
|
Index: SDL_bgi-2.6.0/CMakeLists.txt
|
2020-02-20 17:06:35 +01:00
|
|
|
===================================================================
|
2022-06-01 12:42:15 +02:00
|
|
|
--- SDL_bgi-2.6.0.orig/CMakeLists.txt
|
|
|
|
+++ SDL_bgi-2.6.0/CMakeLists.txt
|
|
|
|
@@ -32,8 +32,9 @@ include_directories (src)
|
2020-02-20 17:06:35 +01:00
|
|
|
|
|
|
|
# Create shared library
|
|
|
|
add_library (${PROJECT_NAME} SHARED ${SOURCES})
|
2022-06-01 12:42:15 +02:00
|
|
|
+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse8)
|
2020-08-11 14:09:22 +02:00
|
|
|
# fix provided by Austin Hurst
|
|
|
|
-target_link_libraries (SDL_bgi ${SDL2_LIBRARIES})
|
|
|
|
+target_link_libraries (SDL_bgi -lm ${SDL2_LIBRARIES})
|
2020-02-20 17:06:35 +01:00
|
|
|
|
|
|
|
# Install library
|
|
|
|
install (TARGETS ${PROJECT_NAME}
|