summaryrefslogtreecommitdiff
path: root/indra/cmake/MESHOPTIMIZER.cmake
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-07-08 20:29:28 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-07-08 21:14:13 +0300
commit1a17e19a610b598650624fb0ae3e67352f00e499 (patch)
treeef57ba0f5097b24b7538880713269eba9f2272d1 /indra/cmake/MESHOPTIMIZER.cmake
parent7b7b8a8da8f3a7e726b7de2b152cd00c67df0f18 (diff)
DRTVWR-542 WIP #2
Diffstat (limited to 'indra/cmake/MESHOPTIMIZER.cmake')
-rw-r--r--indra/cmake/MESHOPTIMIZER.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/cmake/MESHOPTIMIZER.cmake b/indra/cmake/MESHOPTIMIZER.cmake
index 7600a56999..6a31dc5569 100644
--- a/indra/cmake/MESHOPTIMIZER.cmake
+++ b/indra/cmake/MESHOPTIMIZER.cmake
@@ -1,16 +1,16 @@
# -*- cmake -*-
+include(Linking)
include(Prebuilt)
use_prebuilt_binary(meshoptimizer)
if (WINDOWS)
- set(MESHOPTIMIZER_LIBRARIES
- debug meshoptimizer
- optimized meshoptimizer)
+ set(MESHOPTIMIZER_LIBRARIES meshoptimizer.lib)
elseif (LINUX)
- set(MESHOPTIMIZER_LIBRARIES meshoptimizer)
+ set(MESHOPTIMIZER_LIBRARIES meshoptimizer.o)
elseif (DARWIN)
set(MESHOPTIMIZER_LIBRARIES libmeshoptimizer.o)
endif (WINDOWS)
+
set(MESHOPTIMIZER_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/meshoptimizer)