Skip to content

Commit

Permalink
XXX cmake includedir for argp.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Nov 24, 2024
1 parent d8b2d44 commit d3b514b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ CHECK_SYMBOL_EXISTS(argp_parse argp.h HAVE_ARGP_PARSE)
if(HAVE_ARGP_PARSE)
else()
target_sources(avrdude PUBLIC gnulib/argp-parse.c)
target_include_directories(avrdude PUBLIC "${PROJECT_SOURCE_DIR}/gnulib")
target_include_directories(avrdude PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/gnulib")
endif()

target_link_libraries(avrdude PUBLIC libavrdude)
Expand Down

0 comments on commit d3b514b

Please sign in to comment.