diff --git a/core/vil/CMakeLists.txt b/core/vil/CMakeLists.txt
index 34b44a6..6243b94 100644
|
|
ENDIF(ECW_FOUND) |
61 | 61 | ############################## |
62 | 62 | INCLUDE( ${VXL_CMAKE_DIR}/FindOpenJPEG2.cmake ) |
63 | 63 | IF(OPENJPEG2_FOUND) |
64 | | INCLUDE_DIRECTORIES(${OPENJPEG2_INCLUDE_DIR}) |
| 64 | INCLUDE_DIRECTORIES(BEFORE ${OPENJPEG2_INCLUDE_DIR}) |
| 65 | MESSAGE("OPENJPEG2_INCLUDE_DIR ${OPENJPEG2_INCLUDE_DIR}") |
65 | 66 | ADD_DEFINITIONS( ${OPENJPEG2_DEFINITIONS} ) |
66 | 67 | SET( vil_sources ${vil_sources} |
67 | 68 | file_formats/vil_openjpeg.h file_formats/vil_openjpeg.cxx |
… |
… |
ELSE(VIL_CONFIG_ENABLE_SSE2_ROUNDING) |
130 | 131 | SET(VIL_CONFIG_ENABLE_SSE2_ROUNDING 0) |
131 | 132 | ENDIF(VIL_CONFIG_ENABLE_SSE2_ROUNDING) |
132 | 133 | |
133 | | |
134 | 134 | # Store the external library configurations in to the config file |
135 | 135 | CONFIGURE_FILE( ${vxl_SOURCE_DIR}/core/vil/vil_config.h.in |
136 | 136 | ${vxl_BINARY_DIR}/core/vil/vil_config.h @ONLY IMMEDIATE ) |