Skip to content

Commit

Permalink
Update Helpers.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac authored Dec 2, 2024
1 parent afecbca commit b01b2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmake/Helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function(alicevision_add_test test_file)
# setup LD_LIBRARY_PATH for running tests
get_property(TEST_LINK_DIRS TARGET ${TEST_EXECUTABLE_NAME} PROPERTY LINK_DIRECTORIES)

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}")
# 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}")
endif()

if (WIN32)
Expand Down

0 comments on commit b01b2a0

Please sign in to comment.