From 554717044f52fa39e9d42f2c5ea032efb479b280 Mon Sep 17 00:00:00 2001
From: Nicky Dasmijn <nicky.dasmijn@posteo.nl>
Date: Fri, 16 Sep 2022 23:24:39 +0200
Subject: [PATCH] Rename MESHOPTIMIZER.cmake to Meshoptimizer.cmake as those
 caps honestly bug me.

---
 indra/cmake/CMakeLists.txt                               | 2 +-
 indra/cmake/{MESHOPTIMIZER.cmake => Meshoptimizer.cmake} | 1 -
 indra/llmeshoptimizer/CMakeLists.txt                     | 2 +-
 indra/newview/CMakeLists.txt                             | 1 -
 4 files changed, 2 insertions(+), 4 deletions(-)
 rename indra/cmake/{MESHOPTIMIZER.cmake => Meshoptimizer.cmake} (94%)

diff --git a/indra/cmake/CMakeLists.txt b/indra/cmake/CMakeLists.txt
index ec143d86c94..f0b35c08f3b 100644
--- a/indra/cmake/CMakeLists.txt
+++ b/indra/cmake/CMakeLists.txt
@@ -43,7 +43,7 @@ set(cmake_SOURCE_FILES
         LLTestCommand.cmake
         LLWindow.cmake
         Linking.cmake
-        MESHOPTIMIZER.cmake
+        Meshoptimizer.cmake
         NDOF.cmake
         OPENAL.cmake
         OpenGL.cmake
diff --git a/indra/cmake/MESHOPTIMIZER.cmake b/indra/cmake/Meshoptimizer.cmake
similarity index 94%
rename from indra/cmake/MESHOPTIMIZER.cmake
rename to indra/cmake/Meshoptimizer.cmake
index d1d4df067f5..fd144d2b97c 100644
--- a/indra/cmake/MESHOPTIMIZER.cmake
+++ b/indra/cmake/Meshoptimizer.cmake
@@ -11,7 +11,6 @@ use_prebuilt_binary(meshoptimizer)
 
 if (WINDOWS)
   target_link_libraries( ll::meshoptimizer INTERFACE meshoptimizer.lib)
-  set(MESHOPTIMIZER_LIBRARIES )
 elseif (LINUX)
   target_link_libraries( ll::meshoptimizer INTERFACE meshoptimizer.o)
 elseif (DARWIN)
diff --git a/indra/llmeshoptimizer/CMakeLists.txt b/indra/llmeshoptimizer/CMakeLists.txt
index 47cb424febf..dfac44c296b 100644
--- a/indra/llmeshoptimizer/CMakeLists.txt
+++ b/indra/llmeshoptimizer/CMakeLists.txt
@@ -2,7 +2,7 @@
 
 project(llmeshoptimizer)
 
-include(MESHOPTIMIZER)
+include(Meshoptimizer)
 
 include(00-Common)
 include(LLCommon)
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index a2dad1fb174..2ad40faa377 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -27,7 +27,6 @@ include(LLCommon)
 include(LLCoreHttp)
 include(LLImage)
 include(LLKDU)
-include(MESHOPTIMIZER)
 include(LLPhysicsExtensions)
 include(LLPrimitive)
 include(LLWindow)
-- 
GitLab