Browse Source

FindTDE: Conditional import of exported tdelibs targets.

This prevents multiple attempts to import exported tdelibs targets,
which would cause a collision if find_package( TDE ) is called
repeatedly for some reason.

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

+ 3
- 1
modules/FindTDE.cmake View File

@@ -102,4 +102,6 @@ if( NOT TDE_FOUND )

endif( NOT TDE_FOUND )

include( "${TDE_CMAKE_DIR}/tdelibs.cmake" )
if( NOT TARGET tdecore-shared )
include( "${TDE_CMAKE_DIR}/tdelibs.cmake" )
endif()

Loading…
Cancel
Save