Skip to content

Commit

Permalink
Fix CMake warning
Browse files Browse the repository at this point in the history
The DEPENDS argument is not supported for add_custom_command(TARGET)
  • Loading branch information
glebm committed Feb 28, 2025
1 parent cee3819 commit c58ca79
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ else()
if(CMAKE_STRIP AND NOT DEVILUTIONX_DISABLE_STRIP)
add_custom_command(
TARGET ${BIN_TARGET} POST_BUILD
DEPENDS ${BIN_TARGET}
COMMAND $<$<OR:$<CONFIG:Release>,$<CONFIG:MinSizeRel>>:${CMAKE_STRIP}>
ARGS $<TARGET_FILE:${BIN_TARGET}>)
endif()
Expand Down

0 comments on commit c58ca79

Please sign in to comment.