Another assimp fix

This commit is contained in:
Georg Hagen
2024-10-08 10:49:37 +02:00
parent 607d82f134
commit 81f76e9436

View File

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