Fix src/CMakeLists.txt to honor CMAKE_INSTALL_LIBDIR

This commit is contained in:
Ebben Aries 2022-05-21 14:25:27 -06:00
parent 4601bee4af
commit 3b0d7e5d5d
No known key found for this signature in database
GPG Key ID: 1677A85624B3B6A5
1 changed files with 2 additions and 2 deletions

View File

@ -264,8 +264,8 @@ target_link_libraries(avrdude PUBLIC libavrdude)
install(TARGETS avrdude DESTINATION bin)
install(TARGETS libavrdude
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION include COMPONENT dev
)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/avrdude.conf" TYPE SYSCONF)