From 9281f6a699239543dc2f8453133a086d203a7366 Mon Sep 17 00:00:00 2001 From: Romain Thomas Date: Tue, 31 Dec 2024 07:08:11 +0100 Subject: [PATCH] Fix missing `tl-expected` --- cmake/LIEFConfig.cmake.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/LIEFConfig.cmake.in b/cmake/LIEFConfig.cmake.in index dba73639f5..12c126b076 100644 --- a/cmake/LIEFConfig.cmake.in +++ b/cmake/LIEFConfig.cmake.in @@ -93,6 +93,11 @@ macro(LIEF_load_targets lib_type) if(NOT @LIEF_DISABLE_FROZEN@ AND @LIEF_OPT_FROZEN_EXTERNAL@) find_dependency(frozen) endif() + + if(@LIEF_OPT_EXTERNAL_EXPECTED@) + find_dependency(tl-expected) + endif() + endif() # Include the respective targets file