mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-13 01:14:56 +00:00
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:
@@ -586,6 +586,8 @@ add_library(libavrdude
|
|||||||
${BISON_Parser_OUTPUTS}
|
${BISON_Parser_OUTPUTS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_target_properties(libavrdude PROPERTIES PREFIX "")
|
||||||
|
|
||||||
target_include_directories(libavrdude
|
target_include_directories(libavrdude
|
||||||
PUBLIC
|
PUBLIC
|
||||||
"${PROJECT_SOURCE_DIR}"
|
"${PROJECT_SOURCE_DIR}"
|
||||||
|
|||||||
Reference in New Issue
Block a user