sdl12-compat: cmake: Specify ARCHIVE and RUNTIME destinations for INSTALL

From 70907e8168cccad62f4e983dcfd0dd9a2be0321c Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 14 Jun 2021 01:40:10 +0300
Subject: [PATCH] cmake: Specify ARCHIVE and RUNTIME destinations for INSTALL

Fixes: https://github.com/libsdl-org/sdl12-compat/issues/85
---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7139f96..f7f0169 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -168,6 +168,8 @@ endif()
 
 install(TARGETS SDL
   LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+  ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 )
 
 if(SDL12DEVEL)