diff --git a/CMakeLists.txt b/CMakeLists.txt index c1f83b3..2c61733 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,9 @@ set_target_properties(GLESv2 PROPERTIES VERSION 2.1.0 SOVERSION 2) target_link_options(GLESv2 PRIVATE ${CMAKE_SOURCE_DIR}/src/GLESv2.lds) add_library(wayland-egl SHARED src/dummy.c) +if (WAYLAND_EGL_SOVERSION_1) + set_target_properties(wayland-egl PROPERTIES VERSION 1.0.0 SOVERSION 1) +endif() target_link_options(wayland-egl PRIVATE ${CMAKE_SOURCE_DIR}/src/wayland-egl.lds) add_library(NDL_directmedia SHARED src/dummy.c)