Allow stripping also with Clang

This commit is contained in:
Carles Fernandez 2020-06-10 23:01:26 +02:00
parent 836e074f98
commit 90086f21c5
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 1 additions and 5 deletions

View File

@ -75,11 +75,7 @@ option(ENABLE_LOG "Enable logging" ON)
option(ENABLE_ARMA_NO_DEBUG OFF)
option(ENABLE_STRIP "Create stripped binaries without debugging symbols, potentially smaller in size (GCC-only, Release build mode)" OFF)
if((NOT (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) OR WIN32)
set(ENABLE_STRIP OFF)
endif()
option(ENABLE_STRIP "Create stripped binaries without debugging symbols (in Release build mode only)" OFF)
if(ENABLE_PACKAGING)
set(ENABLE_GENERIC_ARCH ON)