summaryrefslogtreecommitdiff
path: root/functions.cmake
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2017-04-13 14:17:19 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2017-04-13 14:17:19 +0900
commita56e30c8d33048216567753d9d3fefc2152af8ac (patch)
tree7e5d979695fc4a431740982eb1cfecc2898b23a5 /functions.cmake
parent4b11dc566a5bbfa1378d6266525c281b028abcc8 (diff)
downloadcoreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.tar.gz
coreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.tar.bz2
coreclr-a56e30c8d33048216567753d9d3fefc2152af8ac.zip
Imported Upstream version 2.0.0.11353upstream/2.0.0.11353
Diffstat (limited to 'functions.cmake')
-rw-r--r--functions.cmake4
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()