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 IF(NOT GDCM_INSTALL_NO_LIBRARIES)
39 ${GDCM_INSTALL_LIB_DIR}
40 RUNTIME_DIRECTORY ${GDCM_INSTALL_BIN_DIR}
41 ${OPJ_PREFIX}openjpeg)
42 ENDIF(NOT GDCM_INSTALL_NO_LIBRARIES)