Merge pull request #647 from tdd11235813/fix-cmake-build-name

Fixes build-name bug due to reversed string() arguments in cmake.
Tá an tiomantas seo le fáil i:
Maneesh Gupta
2018-08-30 10:32:39 +05:30
tiomanta ag GitHub
tuismitheoir 5358c83a1f bbfda64813
tiomantas 2da880620d
+1 -1
Féach ar an gComhad
@@ -380,7 +380,7 @@ endmacro()
###############################################################################
macro(HIP_PREPARE_TARGET_COMMANDS _target _format _generated_files _source_files)
set(_hip_flags "")
string(TOUPPER _hip_build_configuration "${CMAKE_BUILD_TYPE}")
string(TOUPPER "${CMAKE_BUILD_TYPE}" _hip_build_configuration)
if(HIP_HOST_COMPILATION_CPP)
set(HIP_C_OR_CXX CXX)
else()