From 220c5ee47d4b8f57cbbd30827e74c1b62f40ead6 Mon Sep 17 00:00:00 2001 From: KreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:34:58 -0300 Subject: [PATCH] [CTEST] Use BOX64_LD_LIBRARY_PATH instead of default LD_LIBRARY_PATH (#1764) --- runTest.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runTest.cmake b/runTest.cmake index e9a5a46c..4d7733f3 100644 --- a/runTest.cmake +++ b/runTest.cmake @@ -19,10 +19,10 @@ set(ENV{BOX64_LOG} 0) set(ENV{BOX64_NOBANNER} 1) if( EXISTS ${CMAKE_SOURCE_DIR}/x64lib ) # we are inside box64 folder - set(ENV{LD_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/x64lib) + set(ENV{BOX64_LD_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/x64lib) else() # we are inside build folder - set(ENV{LD_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/../x64lib) + set(ENV{BOX64_LD_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/../x64lib) endif( EXISTS ${CMAKE_SOURCE_DIR}/x64lib ) # run the test program, capture the stdout/stderr and the result var