update script
This commit is contained in:
parent
30a0180d84
commit
2c8ba10cc9
|
@ -79,9 +79,13 @@ 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)
|
||||
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()
|
||||
set(BUILD_TESTING "FALSE")
|
||||
|
|
Loading…
Reference in New Issue