Skip to content

Commit

Permalink
Fix warning in Cmake 3.31.0 "(add_custom_command):COMMENT requires ex…
Browse files Browse the repository at this point in the history
…actly one argument"
  • Loading branch information
LexiconCode committed Oct 30, 2024
1 parent 5d61154 commit a1de0cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pythonsrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ add_custom_target(natlink-package ALL DEPENDS "${WHEEL_PATH}")

add_custom_command(
OUTPUT "${WHEEL_PATH}"
COMMENT "Adding ${NL_FILES} to python package"
COMMENT "Building python wheel package in ${WHEEL_PATH}"
COMMAND ${CMAKE_COMMAND} -E copy ${NL_FILES} ${NL_PY_DIR}
COMMENT "Now Building Python Package"
COMMAND ${FLIT} build --format wheel
DEPENDS StampDriver # otherwise the stamps are not checked
${PROJECT_BINARY_DIR}/NatlinkSource/NatlinkSource.STAMP
Expand Down

0 comments on commit a1de0cb

Please sign in to comment.