diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-11 14:33:58 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-11 14:33:58 +0800 |
commit | f7561713057209fd9aa259351166129d08028252 (patch) | |
tree | 27dd2e939f52fc03f0e9144cfa9d4fa4984ee806 /indra/cmake/Meshoptimizer.cmake | |
parent | a52e23c7b3138caddec0267045c7fa9fa5957b9e (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.cmake | 4 |
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) |