Skip to content

Commit 220c5ee

Browse files
[CTEST] Use BOX64_LD_LIBRARY_PATH instead of default LD_LIBRARY_PATH (ptitSeb#1764)
1 parent 99f2207 commit 220c5ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: runTest.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ set(ENV{BOX64_LOG} 0)
1919
set(ENV{BOX64_NOBANNER} 1)
2020
if( EXISTS ${CMAKE_SOURCE_DIR}/x64lib )
2121
# we are inside box64 folder
22-
set(ENV{LD_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/x64lib)
22+
set(ENV{BOX64_LD_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/x64lib)
2323
else()
2424
# we are inside build folder
25-
set(ENV{LD_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/../x64lib)
25+
set(ENV{BOX64_LD_LIBRARY_PATH} ${CMAKE_SOURCE_DIR}/../x64lib)
2626
endif( EXISTS ${CMAKE_SOURCE_DIR}/x64lib )
2727

2828
# run the test program, capture the stdout/stderr and the result var

0 commit comments

Comments
 (0)