From 4d52ea2c67a7e8cdc263c32da4453c8e4d4ae279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 14 Jun 2020 19:51:59 +0200 Subject: [PATCH] Fix FTBS if CMAKE_BUILD_TYPE is not set. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- modules/TDEMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 8ec1bcf..ceaea93 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -1072,7 +1072,7 @@ macro( tde_add_library _arg_target ) endif( _embed AND ${CMAKE_VERSION} VERSION_EQUAL "2.8.12.0" ) endif( ) if( _shared_libs ) - string( TOUPPER ${CMAKE_BUILD_TYPE} _build_type ) + string( TOUPPER "${CMAKE_BUILD_TYPE}" _build_type ) set_target_properties( ${_target} PROPERTIES LINK_INTERFACE_LIBRARIES "${_shared_libs}" LINK_INTERFACE_LIBRARIES_${_build_type} "${_shared_libs}"