From dd065e14b3dc29af6cc2f5d7e16fa3670cc1d2ba Mon Sep 17 00:00:00 2001 From: casey langen Date: Fri, 10 Mar 2017 17:26:29 -0800 Subject: [PATCH] Strip output in release mode. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58bf2cf2f..13324db52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ ExternalProject_Add(taglib set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-std=c++11 -Wno-unused-result -Wno-deprecated-declarations") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g") -set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2") +set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -s") if (${LINK_STATICALLY} MATCHES "true") set(Boost_USE_STATIC_LIBS ON)