Fix libavrdude library file name

CMake adds "lib" prefix to the library name and hence we get the
following name "liblibavrdude". Use set_target_properties to
set the prefix to "".
This commit is contained in:
Yegor Yefremov 2022-01-11 14:58:40 +01:00
parent 8374564665
commit e72fa01073
1 changed files with 2 additions and 0 deletions

View File

@ -586,6 +586,8 @@ add_library(libavrdude
${BISON_Parser_OUTPUTS}
)
set_target_properties(libavrdude PROPERTIES PREFIX "")
target_include_directories(libavrdude
PUBLIC
"${PROJECT_SOURCE_DIR}"