1 INCLUDE_REGULAR_EXPRESSION("^.*$")
2 # Defines the source code for the library
24 # Pass proper definition to preprocessor to generate shared lib
26 IF (BUILD_SHARED_LIBS)
27 ADD_DEFINITIONS(-DOPJ_EXPORTS)
28 ELSE (BUILD_SHARED_LIBS)
29 ADD_DEFINITIONS(-DOPJ_STATIC)
30 ENDIF (BUILD_SHARED_LIBS)
34 ADD_LIBRARY(${OPJ_PREFIX}openjpeg ${OpenJPEG_SRCS})
37 INSTALL_TARGETS(/lib/gdcm ${OPJ_PREFIX}openjpeg)