diff options
Diffstat (limited to 'functions.cmake')
-rw-r--r-- | functions.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.cmake b/functions.cmake index 7d69dcb707..cbcc70f4d1 100644 --- a/functions.cmake +++ b/functions.cmake @@ -121,7 +121,7 @@ endfunction() function(strip_symbols targetName outputFilename) if (CLR_CMAKE_PLATFORM_UNIX) - if (UPPERCASE_CMAKE_BUILD_TYPE STREQUAL RELEASE) + if (STRIP_SYMBOLS) # On the older version of cmake (2.8.12) used on Ubuntu 14.04 the TARGET_FILE # generator expression doesn't work correctly returning the wrong path and on @@ -158,7 +158,7 @@ function(strip_symbols targetName outputFilename) endif (CMAKE_SYSTEM_NAME STREQUAL Darwin) set(${outputFilename} ${strip_destination_file} PARENT_SCOPE) - endif(UPPERCASE_CMAKE_BUILD_TYPE STREQUAL RELEASE) + endif (STRIP_SYMBOLS) endif(CLR_CMAKE_PLATFORM_UNIX) endfunction() |