1 #-----------------------------------------------------------------------------
2 # Build jpeg lib first:
5 # "jpeglib.h" is defined here:
8 ${GDCM_BINARY_DIR}/ #for gdcmConfigure.h
11 SET(libgdcm_la_SOURCES
15 gdcmDicomDirElement.cxx
18 gdcmDicomDirObject.cxx
19 gdcmDicomDirPatient.cxx
36 gdcmJPEGFragmentsInfo.cxx
50 ${GDCM_BINARY_DIR}/src/gdcmDefaultDicts.cxx
53 ADD_LIBRARY(gdcm ${libgdcm_la_SOURCES} )
55 TARGET_LINK_LIBRARIES(gdcm
61 TARGET_LINK_LIBRARIES(gdcm
65 Wsock32.lib #doesn't exist on cygwin
69 #The following is not working because when a header file is not found it tries
70 #to find one in the binary dir
71 #INSTALL_FILES(/include .h ${libgdcm_la_SOURCES})
72 INSTALL_FILES(/include "\\.h$")
74 INSTALL_TARGETS(/lib/ gdcm)