Skip to content

Commit

Permalink
Fix multiarch install location for cmake package config
Browse files Browse the repository at this point in the history
  • Loading branch information
gusnan committed Mar 20, 2024
1 parent 9bf8047 commit cc560d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ include(CMakePackageConfigHelpers)
set(PKG_NAME "Allegro")
string(TOLOWER ${PKG_NAME} PKG_NAME_LOWER)

set(PKG_CONFIG_INSTALL_DIR "lib/cmake/${PKG_NAME_LOWER}")
set(PKG_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PKG_NAME_LOWER}")
set(PKG_GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated")
set(PKG_TARGETS_NAME "${PKG_NAME}Targets")
set(PKG_CONFIG_FILE "${PKG_GENERATED_DIR}/${PKG_NAME}Config.cmake")
Expand Down

0 comments on commit cc560d2

Please sign in to comment.