mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-29 04:18:54 +03:00
Use correct Python3 CMake variables
This commit is contained in:
@@ -344,7 +344,7 @@ if(HAVE_SWIG)
|
||||
swig_add_library(swig_avrdude LANGUAGE Python SOURCES libavrdude.i ${SOURCES})
|
||||
target_include_directories(swig_avrdude
|
||||
PUBLIC
|
||||
"${PYTHON_INCLUDE_PATH}"
|
||||
"${Python3_INCLUDE_DIRS}"
|
||||
"${PROJECT_SOURCE_DIR}"
|
||||
"${PROJECT_BINARY_DIR}"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
@@ -365,7 +365,7 @@ if(HAVE_SWIG)
|
||||
${LIB_LIBSERIALPORT}
|
||||
${LIB_NCURSES}
|
||||
${LIB_LIBGPIOD}
|
||||
${PYTHON_LIBRARY}
|
||||
${Python3_LIBRARIES}
|
||||
${EXTRA_WINDOWS_LIBRARIES}
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user