Commit 6534064c authored by Aaron Bray's avatar Aaron Bray
Browse files

Add support to setup for various *nix systems

parent 487ac471
......@@ -346,6 +346,10 @@ endif()
#--------------------------------------------------------------------------
if(NOT WIN32)
# Create setup shell script to create an environment for running examples
set(LIBRARY_PATH_VAR "LD_LIBRARY_PATH")
if( APPLE )
set(LIBRARY_PATH_VAR "DYLD_FALLBACK_LIBRARY_PATH")
endif()
configure_file(
${CMAKE_SOURCE_DIR}/CMake/setup_iMSTK.sh.in
${CMAKE_INSTALL_PREFIX}/setup_iMSTK.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment