Commit 1b0d4c88 authored by Kelvin Rodriguez's avatar Kelvin Rodriguez
Browse files

fixed error where third party flags were being overwritten

parent fb767979
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ set(thirdPartyCppFlags -Wall -std=c++11 -DISIS_LITTLE_ENDIAN=1 -fPIC -Wno-unused
# on linux, add the conda prefix to handle possible issues with rpaths at link time
# sometimes third parties do not set their rpaths correctly
if(LINUX)
  set(thirdPartyCppFlags -Wl,-rpath,$ENV{CONDA_PREFIX}/lib)
  set(thirdPartyCppFlags ${thirdPartyCppFlags} -Wl,-rpath,$ENV{CONDA_PREFIX}/lib)
endif()

# Specify user options that can be passed in with the initial CMake command.