From 407d4e470afaa5f5b8f6a7e37ca323bcaf99af54 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 12 Jan 2022 20:32:00 +0300 Subject: [PATCH] cmake: simplify after the previous os/2 commit. --- CMakeLists.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b1fc5799..efaa9e34d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2857,17 +2857,13 @@ if(SDL_SHARED) VERSION ${LT_VERSION} SOVERSION ${LT_MAJOR} OUTPUT_NAME "SDL2-${LT_RELEASE}") - elseif(OS2) - set_target_properties(SDL2 PROPERTIES - DEFINE_SYMBOL BUILD_SDL) - set_target_properties(SDL2 PROPERTIES - VERSION ${LT_VERSION} - SOVERSION ${LT_MAJOR} - OUTPUT_NAME "SDL2") else() if(WINDOWS OR CYGWIN) set_target_properties(SDL2 PROPERTIES DEFINE_SYMBOL DLL_EXPORT) + elseif(OS2) + set_target_properties(SDL2 PROPERTIES + DEFINE_SYMBOL BUILD_SDL) endif() set_target_properties(SDL2 PROPERTIES VERSION ${SDL_VERSION}