Merge pull request #858 from yegorich/cmake-install-fix
CMake: use CMAKE_CURRENT_BINARY_DIR to locate avrdude.conf
This commit is contained in:
commit
c6438532f0
|
@ -268,5 +268,5 @@ install(TARGETS libavrdude
|
||||||
ARCHIVE DESTINATION lib
|
ARCHIVE DESTINATION lib
|
||||||
PUBLIC_HEADER DESTINATION include COMPONENT dev
|
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)
|
install(FILES avrdude.1 TYPE MAN)
|
||||||
|
|
Loading…
Reference in New Issue