summaryrefslogtreecommitdiff
path: root/indra/cmake/Meshoptimizer.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-11 14:33:58 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-11 14:33:58 +0800
commitf7561713057209fd9aa259351166129d08028252 (patch)
tree27dd2e939f52fc03f0e9144cfa9d4fa4984ee806 /indra/cmake/Meshoptimizer.cmake
parenta52e23c7b3138caddec0267045c7fa9fa5957b9e (diff)
Linux distro & logical cores queries are shared
by moving them to Variables.cmake so they can be reused throughout all CMake files.
Diffstat (limited to 'indra/cmake/Meshoptimizer.cmake')
-rw-r--r--indra/cmake/Meshoptimizer.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/cmake/Meshoptimizer.cmake b/indra/cmake/Meshoptimizer.cmake
index 15c6435af9..e926d8118c 100644
--- a/indra/cmake/Meshoptimizer.cmake
+++ b/indra/cmake/Meshoptimizer.cmake
@@ -9,10 +9,6 @@ add_library( ll::meshoptimizer INTERFACE IMPORTED )
if (NOT USESYSTEMLIBS)
use_system_binary(meshoptimizer)
else (NOT USESYSTEMLIBS)
- cmake_host_system_information(RESULT MAKE_JOBS QUERY NUMBER_OF_LOGICAL_CORES)
- if (LINUX)
- cmake_host_system_information(RESULT LINUX_DISTRO QUERY DISTRIB_ID)
- endif (LINUX)
if (NOT (${LINUX_DISTRO} MATCHES fedora OR DARWIN))
find_package(meshoptimizer)
target_link_libraries( ll::meshoptimizer INTERFACE meshoptimizer)