update script
This commit is contained in:
parent
30a0180d84
commit
2c8ba10cc9
|
@ -79,8 +79,12 @@ if(NOT "$ENV{OPJ_CI_SKIP_TESTS}" STREQUAL "1")
|
|||
# Note: Binaries can only be used for non-commercial purposes.
|
||||
if ("$ENV{OPJ_NONCOMMERCIAL}" STREQUAL "1" )
|
||||
set(KDUPATH $ENV{PWD}/kdu)
|
||||
set(ENV{LD_LIBRARY_PATH} ${KDUPATH})
|
||||
set(ENV{PATH} $ENV{PATH}:${KDUPATH})
|
||||
if("$ENV{TRAVIS_OS_NAME}" STREQUAL "windows")
|
||||
set(ENV{PATH} "$ENV{PATH};${KDUPATH}")
|
||||
else()
|
||||
set(ENV{LD_LIBRARY_PATH} ${KDUPATH})
|
||||
set(ENV{PATH} $ENV{PATH}:${KDUPATH})
|
||||
endif()
|
||||
endif()
|
||||
set(BUILD_TESTING "TRUE")
|
||||
else()
|
||||
|
|
Loading…
Reference in New Issue