From 155a109c69d3415ec3cfe1e00f605f57a4657434 Mon Sep 17 00:00:00 2001 From: James Edmondson Date: Sun, 31 Dec 2023 21:17:02 -0800 Subject: [PATCH] Cmake update (#165) * * Adding option to cmake.sh for g++ * * Update cmake.sh to only ldconfig if not MAC --- scripts/linux/cmake.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/linux/cmake.sh b/scripts/linux/cmake.sh index 7b5026137..59b3b62a6 100755 --- a/scripts/linux/cmake.sh +++ b/scripts/linux/cmake.sh @@ -96,4 +96,7 @@ cmake --build . --config debug -j$(nproc) cmake --build . --config release sudo cmake --build . --target install --config release sudo cmake --build . --target install --config debug -sudo ldconfig + +if [ $MAC -eq 0 ]; then + sudo ldconfig +fi