diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/OpenJPEG.cmake | 2 | ||||
-rw-r--r-- | indra/llimagej2coj/llimagej2coj.cpp | 12 |
2 files changed, 4 insertions, 10 deletions
diff --git a/indra/cmake/OpenJPEG.cmake b/indra/cmake/OpenJPEG.cmake index 83b959e140..6fa4cad9c2 100644 --- a/indra/cmake/OpenJPEG.cmake +++ b/indra/cmake/OpenJPEG.cmake @@ -17,4 +17,4 @@ add_library( ll::openjpeg INTERFACE IMPORTED ) #use_prebuilt_binary(openjpeg) target_link_libraries(ll::openjpeg INTERFACE openjp2 ) -target_include_directories( ll::openjpeg SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/openjpeg) +target_include_directories( ll::openjpeg SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include) diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp index 6d180e233d..7c6fded9fe 100644 --- a/indra/llimagej2coj/llimagej2coj.cpp +++ b/indra/llimagej2coj/llimagej2coj.cpp @@ -28,15 +28,9 @@ #include "llimagej2coj.h" // this is defined so that we get static linking. -#ifdef LL_USESYSTEMLIBS -#include <openjpeg-2.5/openjpeg.h> -#include <openjpeg-2.5/event.h> -#include <openjpeg-2.5/cio.h> -#else -#include "openjpeg.h" -#include "event.h" -#include "cio.h" -#endif +#include "openjpeg/openjpeg.h" +#include "openjpeg/event.h" +#include "openjpeg/cio.h" #define MAX_ENCODED_DISCARD_LEVELS 5 |