X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fjpeg%2Flibijg8%2FCMakeLists.txt;h=e0b9bd8b3a114358a696cc9d36368fcbbb88f090;hb=ffd6ae9d9388136bda46af46f5827127b4d8b588;hp=421db1029b4265195ddde91175ff428a60c96889;hpb=b9ab8805bd66e5fc6dc74788435df455899eb661;p=gdcm.git diff --git a/src/jpeg/libijg8/CMakeLists.txt b/src/jpeg/libijg8/CMakeLists.txt index 421db102..e0b9bd8b 100644 --- a/src/jpeg/libijg8/CMakeLists.txt +++ b/src/jpeg/libijg8/CMakeLists.txt @@ -1,83 +1,6 @@ -#LTVERSION = 0:1:0 - -#lib_LTLIBRARIES = libgdcmijpeg8.la - -##CXXFLAGS = @CXXFLAGS@ - -SET(libgdcmijpeg8_la_SOURCES -# jcapimin.c -# jcapistd.c -# jctrans.c -# jcparam.c -# jdatadst.c -# jcinit.c -# jcmaster.c -# jcmarker.c -# jcmainct.c -# jcprepct.c -# jccoefct.c -# jccolor.c -# jcsample.c -# jchuff.c -# jcphuff.c -# jcdctmgr.c - jfdctfst.c - jfdctflt.c - jfdctint.c - jdapimin.c - jdapistd.c - jdtrans.c - jdatasrc.c - jdmaster.c - jdinput.c - jdmarker.c - jdhuff.c - jdphuff.c - jdmainct.c - jdcoefct.c - jdpostct.c - jddctmgr.c - jidctfst.c - jidctflt.c - jidctint.c - jidctred.c - jdsample.c - jdcolor.c - jquant1.c - jquant2.c - jdmerge.c - jcomapi.c - jutils.c - jerror.c - jmemmgr.c - jmemnobs.c - rdrle.c -) - -#libgdcmijpeg8includedir = $(includedir) -SET(libgdcmijpeg8include_HEADERS - jchuff.h - jconfig.h - jdct.h - jdhuff.h - jerror.h - jinclude.h - jmemsys.h - jmorecfg.h - jpegint.h - jpeglib.h - jversion.h -) - -#EXTRA_DIST = \ -# jconfig.linux \ -# jconfig.vc - -ADD_LIBRARY(gdcmijpeg8 ${libgdcmijpeg8_la_SOURCES}) - -#INSTALL_FILES(/include "\\.h$") -INSTALL_FILES(/include FILES ${libgdcmijpeg8include_HEADERS}) -#INSTALL_FILES(/include FILES jconfig.linux jconfig.vc) -INSTALL_FILES(/include FILES jconfig.linux) - -INSTALL_TARGETS(/lib/ gdcmijpeg8) +# JPEG 8 bits project + +INCLUDE_DIRECTORIES( + ${GDCM_BINARY_DIR}/src/jpeg/libijg8 + ) +ADD_LIBRARY(gdcmijpeg8 ${JPEG8_SOURCES})