summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-10 20:28:50 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-12 17:11:52 +0800
commit875b8c71fb1bfdddf26e896a0409a6aca0df713e (patch)
tree0ddcad866cd7d4c398f26cbfb3432e58421bc486 /indra/llmath
parent1b9382cad1bea428bd7a351f41edc153fde77940 (diff)
Swap dependency between llmath & llmeshoptimizer
It seems easier the other way around. This is only so building shared libraries won't fail.
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llmath/CMakeLists.txt b/indra/llmath/CMakeLists.txt
index dfd7491790..c85d9c75c7 100644
--- a/indra/llmath/CMakeLists.txt
+++ b/indra/llmath/CMakeLists.txt
@@ -100,8 +100,7 @@ list(APPEND llmath_SOURCE_FILES ${llmath_HEADER_FILES})
add_library (llmath ${llmath_SOURCE_FILES})
-include_directories(${CMAKE_SOURCE_DIR}/llmeshoptimizer)
-target_link_libraries(llmath llcommon)
+target_link_libraries(llmath llcommon llmeshoptimizer)
target_include_directories( llmath INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
if (USESYSTEMLIBS AND CMAKE_CXX_COMPILER_ID MATCHES "GNU")