From 81f76e943623b3178fa23bb2e9c3118b708116f5 Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Tue, 8 Oct 2024 10:49:37 +0200 Subject: [PATCH] Another assimp fix --- 3rdParty/assimp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdParty/assimp/CMakeLists.txt b/3rdParty/assimp/CMakeLists.txt index 8c4c467..2be13a3 100644 --- a/3rdParty/assimp/CMakeLists.txt +++ b/3rdParty/assimp/CMakeLists.txt @@ -42,7 +42,7 @@ function(LinkAssimp TARGET) else () set(ASSIMP_LIB_NAME "assimp") endif () - if (assimp_FOUND OR assimp_BUILT) + if (assimp_FOUND OR ASSIMP_FOUND OR assimp_BUILT) message("Linking assimp: ${ASSIMP_LIB_NAME}") target_link_libraries(${TARGET} PUBLIC ${ASSIMP_LIB_NAME}) endif ()