avrdude: Build avrdude-slic3r by default

This commit is contained in:
Vojtech Kral 2019-02-26 13:30:18 +01:00
parent ffd7a3d933
commit c426c99af0
2 changed files with 1 additions and 4 deletions

View File

@ -92,7 +92,6 @@ add_dependencies(avrdude gen_conf_h)
add_executable(avrdude-slic3r main-standalone.c)
target_link_libraries(avrdude-slic3r avrdude)
set_target_properties(avrdude-slic3r PROPERTIES EXCLUDE_FROM_ALL TRUE)
if (WIN32)
target_compile_definitions(avrdude PRIVATE WIN32NATIVE=1)

View File

@ -1,9 +1,7 @@
#include "avrdude.h"
static const char* SYS_CONFIG = "/etc/avrdude-slic3r.conf";
int main(int argc, char *argv[])
{
return avrdude_main(argc, argv, SYS_CONFIG);
return avrdude_main(argc, argv);
}