By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1759
Collapse All | Expand All

(-)b/cmake/modules/TDEMacros.cmake (-10 / +21 lines)
Lines 685-699 Link Here
685
685
686
  # set interface libraries (only for shared)
686
  # set interface libraries (only for shared)
687
  unset( _shared_libs )
687
  unset( _shared_libs )
688
  foreach( _lib ${_link} )
688
  if( NOT ${_type} STREQUAL "STATIC" )
689
    #get_target_property( _lib_type ${_lib} TYPE )
689
    foreach( _lib ${_link} )
690
    #if( NOT "STATIC_LIBRARY" STREQUAL "${_lib_type}" )
690
      #get_target_property( _lib_type ${_lib} TYPE )
691
    if( NOT ${_lib} MATCHES ".+-static" )
691
      #if( NOT "STATIC_LIBRARY" STREQUAL "${_lib_type}" )
692
      list( APPEND _shared_libs ${_lib} )
692
      if( NOT ${_lib} MATCHES ".+-static" )
693
    endif( NOT ${_lib} MATCHES ".+-static" )
693
        list( APPEND _shared_libs ${_lib} )
694
    #endif( NOT "STATIC_LIBRARY" STREQUAL "${_lib_type}" )
694
      endif( NOT ${_lib} MATCHES ".+-static" )
695
  endforeach( _lib )
695
      #endif( NOT "STATIC_LIBRARY" STREQUAL "${_lib_type}" )
696
  target_link_libraries( ${_target} LINK_INTERFACE_LIBRARIES ${_shared_libs} )
696
    endforeach( _lib )
697
  endif( NOT ${_type} STREQUAL "STATIC" )
697
698
698
  # set embedded archives
699
  # set embedded archives
699
  if( _embed )
700
  if( _embed )
Lines 702-709 Link Here
702
703
703
  # set link libraries
704
  # set link libraries
704
  if( _link )
705
  if( _link )
705
    target_link_libraries( ${_target} ${_link} )
706
    if( _embed AND ${CMAKE_VERSION} VERSION_EQUAL "2.8.12.0" )
707
      # hack for broken CMake 2.8.12.0
708
      set_target_properties( ${_target} PROPERTIES LINK_LIBRARIES "${_link}" )
709
    else( _embed AND  ${CMAKE_VERSION} VERSION_EQUAL "2.8.12.0" )
710
      target_link_libraries( ${_target} ${_link} )
711
    endif( _embed AND  ${CMAKE_VERSION} VERSION_EQUAL "2.8.12.0" )
706
  endif( )
712
  endif( )
713
  if( _shared_libs )
714
    set_target_properties( ${_target} PROPERTIES
715
                           LINK_INTERFACE_LIBRARIES "${_shared_libs}"
716
                           INTERFACE_LINK_LIBRARIES "${_shared_libs}" )
717
  endif( _shared_libs )
707
718
708
  # set dependencies
719
  # set dependencies
709
  if( _dependencies )
720
  if( _dependencies )

Return to bug 1759