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,8 +79,12 @@ if(NOT "$ENV{OPJ_CI_SKIP_TESTS}" STREQUAL "1")
# Note: Binaries can only be used for non-commercial purposes. # Note: Binaries can only be used for non-commercial purposes.
if ("$ENV{OPJ_NONCOMMERCIAL}" STREQUAL "1" ) if ("$ENV{OPJ_NONCOMMERCIAL}" STREQUAL "1" )
set(KDUPATH $ENV{PWD}/kdu) set(KDUPATH $ENV{PWD}/kdu)
set(ENV{LD_LIBRARY_PATH} ${KDUPATH}) if("$ENV{TRAVIS_OS_NAME}" STREQUAL "windows")
set(ENV{PATH} $ENV{PATH}:${KDUPATH}) set(ENV{PATH} "$ENV{PATH};${KDUPATH}")
else()
set(ENV{LD_LIBRARY_PATH} ${KDUPATH})
set(ENV{PATH} $ENV{PATH}:${KDUPATH})
endif()
endif() endif()
set(BUILD_TESTING "TRUE") set(BUILD_TESTING "TRUE")
else() else()