From 598bcfc5f66cd60f8ba1f13346d4b6a8616e1d04 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 6 Jan 2020 07:06:58 -0800 Subject: [PATCH] Fixed bug 4928 - CMakeLists.txt: put cmake package helpers in proper libdir Tiago O. Use LIB_SUFFIX variable to determine the correct path. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e7ab00feb4..b3b2875be6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2119,7 +2119,7 @@ install(TARGETS ${_INSTALL_LIBS} EXPORT SDL2Targets if (WINDOWS) set(PKG_PREFIX "cmake") else () - set(PKG_PREFIX "lib/cmake/SDL2") + set(PKG_PREFIX "lib${LIB_SUFFIX}/cmake/SDL2") endif () include(CMakePackageConfigHelpers)