summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-01-27 13:11:16 +0800
committerErik Kundiman <erik@megapahit.org>2025-01-27 13:17:20 +0800
commitfd223239f100ce2c52c2f855393462f4c117a70f (patch)
treeb33fa8064aa9b48ee441c891ef2b97f632c48e16
parent77a16d3280466166efed84a531f09428e742779b (diff)
Fix glm headers not found on Linux
since they got used in llcommon.
-rw-r--r--indra/llcommon/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcommon/CMakeLists.txt b/indra/llcommon/CMakeLists.txt
index 85ab874980..8e56e6a800 100644
--- a/indra/llcommon/CMakeLists.txt
+++ b/indra/llcommon/CMakeLists.txt
@@ -300,7 +300,9 @@ if (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
file(WRITE ${PREBUILD_TRACKING_DIR}/sse2neon_installed "0")
endif (${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/sse2neon_installed OR NOT ${sse2neon_installed} EQUAL 0)
target_include_directories(llcommon PUBLIC ${LIBS_PREBUILT_DIR}/include/sse2neon)
-endif ()
+elseif (LINUX)
+ target_include_directories(llcommon PUBLIC ${LIBS_PREBUILT_DIR}/include)
+endif (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
if (USE_AUTOBUILD_3P OR USE_CONAN)
add_dependencies(llcommon stage_third_party_libs)