From c8e218230c22cd3f16777c2ff20794f943dceb00 Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Tue, 8 Oct 2024 10:35:57 +0200 Subject: [PATCH] More logging --- 3rdParty/assimp/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/3rdParty/assimp/CMakeLists.txt b/3rdParty/assimp/CMakeLists.txt index e0b201b..6e5aa12 100644 --- a/3rdParty/assimp/CMakeLists.txt +++ b/3rdParty/assimp/CMakeLists.txt @@ -2,6 +2,7 @@ include(FetchContent) unset(assimp_FOUND) find_package(assimp QUIET) +message("assimp_FOUND: ${assimp_FOUND}; ASSIMP_FOUND: ${ASSIMP_FOUND}") if (assimp_FOUND) message("Using system assimp") elseif (USE_ASSIMP) @@ -34,9 +35,12 @@ endif () function(LinkAssimp TARGET) if (NOT assimp_BUILT) find_package(assimp QUIET) + message("assimp_FOUND: ${assimp_FOUND}; ASSIMP_FOUND: ${ASSIMP_FOUND}") if (assimp_FOUND) set(ASSIMP_LIB_NAME ${ASSIMP_LIBRARIES}) endif () + else () + set(ASSIMP_LIB_NAME "assimp") endif () if (assimp_FOUND OR assimp_BUILT) message("Linking assimp: ${ASSIMP_LIB_NAME}")