update script

This commit is contained in:
mayeut 2015-10-10 19:15:52 +02:00
parent 30a0180d84
commit 2c8ba10cc9
1 changed files with 6 additions and 2 deletions

View File

@ -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")