Fix #141943: Correctly detect manifold libs when not in strict mode
This commit is contained in:
@@ -579,6 +579,9 @@ if(WITH_MANIFOLD)
|
|||||||
else()
|
else()
|
||||||
# This isn't a common system library, so disable if it's not found.
|
# This isn't a common system library, so disable if it's not found.
|
||||||
find_package(manifold)
|
find_package(manifold)
|
||||||
|
if(TARGET manifold::manifold)
|
||||||
|
set(MANIFOLD_FOUND TRUE)
|
||||||
|
endif()
|
||||||
set_and_warn_library_found("MANIFOLD" MANIFOLD_FOUND WITH_MANIFOLD)
|
set_and_warn_library_found("MANIFOLD" MANIFOLD_FOUND WITH_MANIFOLD)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user