Merge pull request #972 from earies/cmake-libdir-fix

Fix src/CMakeLists.txt to honor CMAKE_INSTALL_LIBDIR
This commit is contained in:
Marius Greuel
2022-06-08 21:53:22 +02:00
committed by GitHub

View File

@@ -263,8 +263,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)