From f7f71400530a5ea2fd6a44299a3a8ea52a721981 Mon Sep 17 00:00:00 2001 From: Matthias Werner Date: Mon, 27 Aug 2018 17:51:12 +0200 Subject: [PATCH] Fixes build-name bug due to reversed string() arguments in cmake. --- hipamd/cmake/FindHIP.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/cmake/FindHIP.cmake b/hipamd/cmake/FindHIP.cmake index afa92de097..d2377e9adb 100644 --- a/hipamd/cmake/FindHIP.cmake +++ b/hipamd/cmake/FindHIP.cmake @@ -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()