1 #-----------------------------------------------------------------------------
2 # Build jpeg lib first:
5 # "jpeglib.h" is defined here:
8 ${GDCM_BINARY_DIR}/ #for gdcmConfigure.h
9 ${GDCM_BINARY_DIR}/src #for gdcmjpeg 8, 12 and 16
12 SET(libgdcm_la_SOURCES
16 gdcmDicomDirElement.cxx
19 gdcmDicomDirObject.cxx
20 gdcmDicomDirPatient.cxx
37 gdcmJPEGFragmentsInfo.cxx
51 ${GDCM_BINARY_DIR}/src/gdcmDefaultDicts.cxx
54 ADD_LIBRARY(gdcm ${libgdcm_la_SOURCES} )
56 TARGET_LINK_LIBRARIES(gdcm
62 TARGET_LINK_LIBRARIES(gdcm
66 Wsock32.lib #doesn't exist on cygwin
70 #The following is not working because when a header file is not found it tries
71 #to find one in the binary dir
72 #INSTALL_FILES(/include .h ${libgdcm_la_SOURCES})
73 INSTALL_FILES(/include "\\.h$")
75 INSTALL_TARGETS(/lib/ gdcm)