about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com>2024-08-27 13:34:58 -0300
committerGitHub <noreply@github.com>2024-08-27 18:34:58 +0200
commit220c5ee47d4b8f57cbbd30827e74c1b62f40ead6 (patch)
treec053508ed53925a5fe6564ff8bbbfca7120ac91b
parent99f2207fd4c64d00e30d29aeade5929e8f907928 (diff)
downloadbox64-220c5ee47d4b8f57cbbd30827e74c1b62f40ead6.tar.gz
box64-220c5ee47d4b8f57cbbd30827e74c1b62f40ead6.zip
[CTEST] Use BOX64_LD_LIBRARY_PATH instead of default LD_LIBRARY_PATH (#1764)
-rw-r--r--runTest.cmake4
1 files 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