diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-10 22:19:29 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-10 22:19:29 +0800 |
commit | a52e23c7b3138caddec0267045c7fa9fa5957b9e (patch) | |
tree | caadd0825b2d86919dc74bf04c4b5654bfea83ba | |
parent | b3e60cdc77bc0cdf221416a4d0669df8f5954245 (diff) |
Bring back Meshoptimizer linking to FBSD & Debian
and Ubuntu. find_package(meshoptimizer) didn't imply its
target_link_libraries.
-rw-r--r-- | indra/cmake/Meshoptimizer.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/cmake/Meshoptimizer.cmake b/indra/cmake/Meshoptimizer.cmake index 07bf0a71da..15c6435af9 100644 --- a/indra/cmake/Meshoptimizer.cmake +++ b/indra/cmake/Meshoptimizer.cmake @@ -15,6 +15,7 @@ else (NOT USESYSTEMLIBS) endif (LINUX) if (NOT (${LINUX_DISTRO} MATCHES fedora OR DARWIN)) find_package(meshoptimizer) + target_link_libraries( ll::meshoptimizer INTERFACE meshoptimizer) endif (NOT (${LINUX_DISTRO} MATCHES fedora OR DARWIN)) endif (NOT USESYSTEMLIBS) |