Skip to content

Commit 056fd8c

Browse files
committed
[cmake] Unix: Remove the setting of LD_LIBRARY_PATH when running tests
1 parent c535276 commit 056fd8c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cmake/Helpers.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,6 @@ function(alicevision_add_test test_file)
266266
if(UNIX)
267267
# setup LD_LIBRARY_PATH for running tests
268268
get_property(TEST_LINK_DIRS TARGET ${TEST_EXECUTABLE_NAME} PROPERTY LINK_DIRECTORIES)
269-
270-
set_property(TEST test_${TEST_EXECUTABLE_NAME} PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}:${TEST_LINK_DIRS}:$ENV{LD_LIBRARY_PATH}")
271269
endif()
272270

273271
if (WIN32)

0 commit comments

Comments
 (0)