Skip to content

Commit

Permalink
cmake: use proper python executable path
Browse files Browse the repository at this point in the history
  • Loading branch information
benedekkupper committed Jun 28, 2024
1 parent f9166fc commit 9114d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ExternalProject_Add(hid-usage-tables
PREFIX ${CMAKE_BINARY_DIR}/hid-usage-tables
GIT_REPOSITORY ${HID_USAGE_TABLES_URL}
GIT_TAG ${HID_USAGE_TABLES_REV}
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E chdir <SOURCE_DIR> python <SOURCE_DIR>/src/hid/codegen/cpp.py ${USAGE_TABLES_OUTPUT_DIR}
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E chdir <SOURCE_DIR> ${Python_EXECUTABLE} <SOURCE_DIR>/src/hid/codegen/cpp.py ${USAGE_TABLES_OUTPUT_DIR}
BUILD_COMMAND ""
INSTALL_COMMAND ""
UPDATE_DISCONNECTED TRUE
Expand Down

0 comments on commit 9114d20

Please sign in to comment.