Skip to content

Commit

Permalink
fix cmake dependency bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanshudong committed Jan 4, 2024
1 parent b4890b1 commit bbae12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servant/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ foreach (FILE ${SRC_LIST})
OUTPUT ${CP_SOURCE_H_DIR}/${TARS_H}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND ${CMAKE_COMMAND} -E copy ${TARS_H} ${CP_SOURCE_H_DIR}
DEPENDS ${FILE} ${CP_SOURCE_H_DIR}/${TARS_H} tars2cpp
DEPENDS ${FILE} ${TARS_H} tars2cpp
COMMENT "${CMAKE_COMMAND} -E copy ${TARS_H} ${CP_SOURCE_H_DIR}")

#设置依赖
Expand Down

0 comments on commit bbae12d

Please sign in to comment.