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