From 22b126541fc55d59e4abdedc9cbdd8b0d12e69ed 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 e7ab00feb..b3b2875be 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)