From bbfda64813a1e99b49fc8a7cfe4757ab4d48768d 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. --- cmake/FindHIP.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindHIP.cmake b/cmake/FindHIP.cmake index afa92de097..d2377e9adb 100644 --- a/cmake/FindHIP.cmake +++ b/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()