Commit 7f2a5d74 authored by Kelvinrr's avatar Kelvinrr
Browse files

added rpath line for third party flags

parent 9769a235
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@ include(InstallThirdParty)
#===============================================================================
# Project information

execute_process(COMMAND export LD_LIBRARY_PATH="$ENV{LD_LIBRARY_PATH}:$ENV{CONDA_PREFIX}/lib")

project (USGS_ISIS)

# Short and long name of this package
@@ -58,7 +60,7 @@ message("Detected Operating System: ${osVersionString}")
set(BUILD_SHARED_LIBS ON)

# Specify flags used
set(thirdPartyCppFlags -Wall -std=c++11 -DISIS_LITTLE_ENDIAN=1 -fPIC -Wno-unused-parameter -Wno-overloaded-virtual)
set(thirdPartyCppFlags -Wl,-rpath,$ENV{CONDA_PREFIX}/lib -Wall -std=c++11 -DISIS_LITTLE_ENDIAN=1 -fPIC -Wno-unused-parameter -Wno-overloaded-virtual)

# Specify user options that can be passed in with the initial CMake command.
option(isis3Data       "Directory containing Isis3Data"                 OFF )