summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/FindTDE.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/FindTDE.cmake b/modules/FindTDE.cmake
index 269bec3..e091e62 100644
--- a/modules/FindTDE.cmake
+++ b/modules/FindTDE.cmake
@@ -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()