mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Support stripping binaries from out of tree builds
This commit is contained in:
parent
821b4de874
commit
aa2ccdb0b2
@ -368,5 +368,5 @@ add_custom_command(TARGET postbuild POST_BUILD COMMAND cmake .)
|
||||
# strip binaries in release mode
|
||||
if (CMAKE_BUILD_TYPE MATCHES Release)
|
||||
message(STATUS "stripping binaries...")
|
||||
add_custom_command(TARGET postbuild POST_BUILD COMMAND ./strip-nix.sh)
|
||||
add_custom_command(TARGET postbuild POST_BUILD COMMAND "${CMAKE_CURRENT_BINARY_DIR}/strip-nix.sh")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user