[CMAKE] Disable rossym for GCC release builds.

svn path=/trunk/; revision=68147
This commit is contained in:
Amine Khaldi 2015-06-15 16:43:11 +00:00
parent ad9dc105b0
commit 74c80a51dd

View file

@ -12,7 +12,9 @@ if(NOT DEFINED SEPARATE_DBG)
endif() endif()
# Dwarf based builds (no rsym) # Dwarf based builds (no rsym)
if(NOT DEFINED NO_ROSSYM) if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(NO_ROSSYM TRUE)
elseif(NOT DEFINED NO_ROSSYM)
set(NO_ROSSYM FALSE) set(NO_ROSSYM FALSE)
endif() endif()