commit | 22b126541fc55d59e4abdedc9cbdd8b0d12e69ed | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Mon Jan 06 07:06:58 2020 -0800 |
committer | Sam Lantinga <slouken@libsdl.org> | Mon Jan 06 07:06:58 2020 -0800 |
tree | 67450d548119d46d3a8f708333633f6edeb97053 | |
parent | a86389ebc14beed353f43cfe79384c2fcd0b1325 [diff] |
Fixed bug 4928 - CMakeLists.txt: put cmake package helpers in proper libdir Tiago O. Use LIB_SUFFIX variable to determine the correct path.
diff --git a/CMakeLists.txt b/CMakeLists.txt index e7ab00f..b3b2875 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -2119,7 +2119,7 @@ if (WINDOWS) set(PKG_PREFIX "cmake") else () - set(PKG_PREFIX "lib/cmake/SDL2") + set(PKG_PREFIX "lib${LIB_SUFFIX}/cmake/SDL2") endif () include(CMakePackageConfigHelpers)