CMakeLists.txt 939 Bytes
Newer Older
Thomas Feuvrier's avatar
nomsg    
Thomas Feuvrier committed
1
# Add an option to build or not build the FltkImageViewer Library
Thomas Feuvrier's avatar
nomsg    
Thomas Feuvrier committed
2

3

4
IF(NOT OTB_USE_EXTERNAL_ITK)
5
  SUBDIRS(ITK)
6
7
ENDIF(NOT OTB_USE_EXTERNAL_ITK)

8
9
10
11
IF(OTB_COMPILE_JPEG2000)
  SUBDIRS( otbopenjpeg)
ENDIF(OTB_COMPILE_JPEG2000)

12
IF(OTB_USE_VISU_GUI)
13
        IF(NOT OTB_USE_EXTERNAL_FLTK)
14
15
16
	        SUBDIRS( FLTK )
        ENDIF(NOT OTB_USE_EXTERNAL_FLTK)
ENDIF(OTB_USE_VISU_GUI)
17

18
IF(NOT OTB_USE_EXTERNAL_EXPAT)
19
	#SUBDIRS( otbexpat )
20
21
ENDIF(NOT OTB_USE_EXTERNAL_EXPAT)

22
#Supress libraries not used by the 2.2.0 version 
23
#SUBDIRS(BGL otbsvm dxflib InsightJournal otbossim otb6S otbgeotiff tinyXMLlib otbgalib otbkml)
24
SUBDIRS(BGL otbsvm dxflib InsightJournal otbossim otb6S otbgeotiff tinyXMLlib)
25

26
27
28
29
IF(BUILD_TESTING)
        SUBDIRS( Dart )
ENDIF(BUILD_TESTING)

30

31
32
33
#-----------------------------------------------------------------------------
# Install the UseOTB.cmake file configured from the top-level.
INSTALL_FILES(/lib/otb ".cmake" "OTBConfig")