Browse Source

Fix FTBS if CMAKE_BUILD_TYPE is not set.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/56/head
Slávek Banko 3 months ago
parent
commit
4d52ea2c67
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/TDEMacros.cmake

+ 1
- 1
modules/TDEMacros.cmake View File

@@ -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}"


Loading…
Cancel
Save