Skip to content
Permalink
Browse files

Use DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH

  • Loading branch information...
lrineau committed May 24, 2019
1 parent b1d63b6 commit fba71b154f5a99339237be55ca9faf6d25ba5e35
Showing with 2 additions and 1 deletion.
  1. +2 −1 CMakeLists.txt
@@ -147,7 +147,8 @@ if ( CGAL_FOUND )
WORKING_DIRECTORY ${JAVA_OUTDIR_PREFIX})
add_dependencies (tests javatest_${TESTNAME})
add_test (NAME javatest_${TESTNAME} COMMAND ${Java_JAVA_EXECUTABLE} ${TESTNAME} WORKING_DIRECTORY ${JAVA_OUTDIR_PREFIX})
set_tests_properties (javatest_${TESTNAME} PROPERTIES ENVIRONMENT "LD_LIBRARY_PATH=${JAVALIBPATH}")
set_tests_properties (javatest_${TESTNAME} PROPERTIES
ENVIRONMENT "LD_LIBRARY_PATH=${JAVALIBPATH};DYLD_LIBRARY_PATH=${JAVALIBPATH}")
endforeach ()

# tests load files from source dir, eg: ../data/oni.xyz

0 comments on commit fba71b1

Please sign in to comment.
You can’t perform that action at this time.