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()