INCLUDE_REGULAR_EXPRESSION("^.*$")
# Defines the source code for the library
-SET(OpenJPEG_SRCS
+SET(OPENJPEG_SRCS
bio.c
cio.c
dwt.c
ENDIF(WIN32)
# Create the library
-ADD_LIBRARY(${OPJ_PREFIX}openjpeg ${OpenJPEG_SRCS})
+ADD_LIBRARY(${OPENJPEG_LIBRARY_NAME} ${OPENJPEG_SRCS})
# Install library
-INSTALL_TARGETS(/lib/ ${OPJ_PREFIX}openjpeg)
+INSTALL_TARGETS(/lib/ ${OPENJPEG_LIBRARY_NAME})
+# Install includes files
+INSTALL_FILES(/include .h)