Fix #141943: Correctly detect manifold libs when not in strict mode

This commit is contained in:
Sebastian Parborg
2025-07-17 11:32:13 +02:00
parent 1a46806546
commit c19218e423

View File

@@ -579,6 +579,9 @@ if(WITH_MANIFOLD)
else()
# This isn't a common system library, so disable if it's not found.
find_package(manifold)
if(TARGET manifold::manifold)
set(MANIFOLD_FOUND TRUE)
endif()
set_and_warn_library_found("MANIFOLD" MANIFOLD_FOUND WITH_MANIFOLD)
endif()
endif()