mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-11 13:30:47 -04:00
Fix strip target
This commit is contained in:
parent
f5d7413ef7
commit
78648e9399
@ -1061,7 +1061,10 @@ if(FALSE)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(STATIC_BUILD_DO_NOT_USE AND NOT WIN32)
|
if(STATIC_BUILD_DO_NOT_USE AND NOT WIN32)
|
||||||
add_custom_target(strip COMMAND strip -s ${BINARY_TARGETS})
|
foreach(tgt ${BINARY_TARGETS})
|
||||||
|
list(APPEND FILES_TO_STRIP $<TARGET_FILE:${tgt}>)
|
||||||
|
endforeach()
|
||||||
|
add_custom_target(strip COMMAND strip -s ${FILES_TO_STRIP})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT $PRJ_VERSION_FULL} STREQUAL "")
|
if(NOT $PRJ_VERSION_FULL} STREQUAL "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user