summaryrefslogtreecommitdiff
path: root/indra/cmake/Meshoptimizer.cmake
AgeCommit message (Collapse)Author
2024-09-30Windows configuration, with MSYS2 in MinGW for nowErik Kundiman
Also simplify CMake-based dependency projects, the parameters that have been set for the viewer seem to have been implied all this time for the subprojects.
2024-08-18openSUSE Tumbleweed supportErik Kundiman
Its own CPACK_RPM_PACKAGE_REQUIRES will catch up soon.
2024-08-16Fix meshoptimizer & NDOF tracking contains garbageErik Kundiman
instead of 0.
2024-08-13Only download when there aren't the files yetErik Kundiman
2024-08-13Remove already implied file(MAKE_DIRECTORY)Erik Kundiman
file(COPY) seems to already include making the necessary directories.
2024-08-13CMake file & try_compile replacing execute_processErik Kundiman
file(DOWNLOAD) replacing execute_process(COMMAND curl), file(ARCHIVE_EXTRACT) replacing execute_process(COMMAND tar xf), file(MAKE_DIRECTORY) replacing execute_process(COMMAND mkdir -p), file(COPY) replacing execute_process(COMMAND cp), file(RENAME) replacing execute_process(COMMAND mv), try_compile replacing execute_process(COMMAND cmake/make), LIBS_PREBUILT_DIR replacing AUTOBUILD_INSTALL_DIR, 0 replacing ${${_binary}_installed} where appropriate, no FMOD reinstallation when it's already installed, and archives & unarchived source/build directories are in CMake root binary directory, instead of /tmp. SHOW_PROGRESS is on for downloading Dullahan from the Megapahit website cause it can be slow.
2024-08-12Right WORKING_DIRECTORY values to shorten pathsErik Kundiman
2024-08-12Remove unarchived dependencies after config/buildErik Kundiman
also fix ${_binary} to its intended fmodstudio name.
2024-08-12Download & install aren't redone when installedErik Kundiman
by making sure we *write* the _installed files (containing the value 0).
2024-08-11Linux distro & logical cores queries are sharedErik Kundiman
by moving them to Variables.cmake so they can be reused throughout all CMake files.
2024-08-10Bring back Meshoptimizer linking to FBSD & DebianErik Kundiman
and Ubuntu. find_package(meshoptimizer) didn't imply its target_link_libraries.
2024-08-10Fix Meshoptimizer CMAKE_OSX_ARCHITECTURES valueErik Kundiman
It is decided that on x86-64, it's compiled too instead of using LL's (old) prebuilt libmeshoptimizer.a.
2024-08-10Automatic Meshoptimizer download, build & installErik Kundiman
on macOS and Fedora.
2024-06-20Merge remote-tracking branch 'secondlife/release/maint-b' into maint-bErik Kundiman
2024-04-05Linux viewer (ReleaseOS) resurrection (#1099)Nicky Dasmijn
Co-authored-by: AiraYumi <aira.youme@airanyumi.net>
2023-08-26Add sysroot to GLH & Meshoptimizer include pathsErik Kundiman
When cross-compiling, the host's /usr/local/include would be unsafely included before. The problem with this was that it leaked other host library headers unexpectedly, like Boost. The target compilation caught some function from the host headers which of a newer version, and then when trying to link to the target libraries, the function wasn't available yet in the older version.
2023-07-19Obtain Meshoptimizer flags when using system libsErik Kundiman
The Meshoptimizer CMake files don't seem to be working right. On more than one platform, they always conclude the package as not found. Nevertheless, the library is typically installed in standard paths, that no special paths need to be included for Meshoptimizer to be found. Except on macOS (so far), as existing package managers don't have that package yet, hence the /usr/local/include addition. It's a safe path to include anyway on other un*x platforms.
2022-09-16Rename MESHOPTIMIZER.cmake to Meshoptimizer.cmake as those caps honestly bug me.Nicky Dasmijn