File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
51
51
add_compile_definitions (CONFIG_DIR=\"${CONFIG_DIR} \")
52
52
53
53
if (WIN32 )
54
- set (EXTRA_WINDOWS_SOURCES "${PROJECT_BINARY_DIR} /src/windows.rc" )
54
+ set (EXTRA_WINDOWS_RESOURCES "${PROJECT_BINARY_DIR} /src/windows.rc" )
55
55
set (EXTRA_WINDOWS_LIBRARIES setupapi ws2_32)
56
56
endif ()
57
57
@@ -216,6 +216,7 @@ add_library(libavrdude
216
216
xbee.c
217
217
${FLEX_Parser_OUTPUTS}
218
218
${BISON_Parser_OUTPUTS}
219
+ "${EXTRA_WINDOWS_SOURCES} "
219
220
)
220
221
221
222
set_target_properties (libavrdude PROPERTIES
@@ -253,7 +254,7 @@ add_executable(avrdude
253
254
term.h
254
255
whereami.c
255
256
whereami.h
256
- "${EXTRA_WINDOWS_SOURCES } "
257
+ "${EXTRA_WINDOWS_RESOURCES } "
257
258
)
258
259
259
260
target_link_libraries (avrdude PUBLIC libavrdude)
You can’t perform that action at this time.
0 commit comments