Skip to content

Commit

Permalink
Fixed bug 4928 - CMakeLists.txt: put cmake package helpers in proper …
Browse files Browse the repository at this point in the history
…libdir

Tiago O.

Use LIB_SUFFIX variable to determine the correct path.
  • Loading branch information
slouken committed Jan 6, 2020
1 parent 2b1edf4 commit 598bcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 598bcfc

Please sign in to comment.