Another assimp fix
This commit is contained in:
2
3rdParty/assimp/CMakeLists.txt
vendored
2
3rdParty/assimp/CMakeLists.txt
vendored
@@ -42,7 +42,7 @@ function(LinkAssimp TARGET)
|
|||||||
else ()
|
else ()
|
||||||
set(ASSIMP_LIB_NAME "assimp")
|
set(ASSIMP_LIB_NAME "assimp")
|
||||||
endif ()
|
endif ()
|
||||||
if (assimp_FOUND OR assimp_BUILT)
|
if (assimp_FOUND OR ASSIMP_FOUND OR assimp_BUILT)
|
||||||
message("Linking assimp: ${ASSIMP_LIB_NAME}")
|
message("Linking assimp: ${ASSIMP_LIB_NAME}")
|
||||||
target_link_libraries(${TARGET} PUBLIC ${ASSIMP_LIB_NAME})
|
target_link_libraries(${TARGET} PUBLIC ${ASSIMP_LIB_NAME})
|
||||||
endif ()
|
endif ()
|
||||||
|
|||||||
Reference in New Issue
Block a user