diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-14 19:51:59 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-14 19:52:32 +0200 |
commit | b9e9b4cbac21a42b05b37e46b332cfb9735745c4 (patch) | |
tree | 23cd0da628de7b0460efa7acd8d27602541e1bda /modules/TDEMacros.cmake | |
parent | 587796341b6e74d55fa95ca06d00e61c80be7cb2 (diff) | |
download | tde-cmake-b9e9b4cbac21a42b05b37e46b332cfb9735745c4.tar.gz tde-cmake-b9e9b4cbac21a42b05b37e46b332cfb9735745c4.zip |
Fix FTBS if CMAKE_BUILD_TYPE is not set.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4d52ea2c67a7e8cdc263c32da4453c8e4d4ae279)
Diffstat (limited to 'modules/TDEMacros.cmake')
-rw-r--r-- | modules/TDEMacros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 4cbab12..14c95b2 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -1019,7 +1019,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}" |