CMake: strip targets (optional) with -D STRIP_TARGETS=ON

This commit is contained in:
mj-xmr 2021-06-10 21:16:58 +02:00
parent ab7df49331
commit 41297c10f0
No known key found for this signature in database
GPG key ID: C101BF94093451E0
2 changed files with 13 additions and 1 deletions

View file

@ -77,6 +77,7 @@ function (monero_add_executable name)
enable_stack_trace("${name}")
monero_set_target_no_relink("${name}")
monero_set_target_strip ("${name}")
endfunction ()
include(Version)