Merge pull request #858 from yegorich/cmake-install-fix

CMake: use CMAKE_CURRENT_BINARY_DIR to locate avrdude.conf
This commit is contained in:
Marius Greuel 2022-02-05 21:46:38 +01:00 committed by GitHub
commit c6438532f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -268,5 +268,5 @@ install(TARGETS libavrdude
ARCHIVE DESTINATION lib
PUBLIC_HEADER DESTINATION include COMPONENT dev
)
install(FILES "${PROJECT_BINARY_DIR}/avrdude.conf" TYPE SYSCONF)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/avrdude.conf" TYPE SYSCONF)
install(FILES avrdude.1 TYPE MAN)