CMakeLists.txt 1.01 KB
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
5
IF(OTB_USE_VISU_GUI)
        IF(NOT OTB_USE_EXTERNAL_FLTK)
6
	        ADD_SUBDIRECTORY( FLTK )
7
8
9
        ENDIF(NOT OTB_USE_EXTERNAL_FLTK)
ENDIF(OTB_USE_VISU_GUI)

10
IF(NOT OTB_USE_EXTERNAL_ITK)
11
  SUBDIRS(ITK)
12
13
ENDIF(NOT OTB_USE_EXTERNAL_ITK)

14
15
16
17
18
IF(NOT OTB_USE_EXTERNAL_OPENTHREADS)
  SUBDIRS( otbopenthreads )
ENDIF(NOT OTB_USE_EXTERNAL_OPENTHREADS)


19
IF(OTB_COMPILE_JPEG2000)
20
  SUBDIRS( otbopenjpeg )
21
22
ENDIF(OTB_COMPILE_JPEG2000)

23

24
IF(NOT OTB_USE_EXTERNAL_EXPAT)
25
	SUBDIRS( otbexpat )
26
27
ENDIF(NOT OTB_USE_EXTERNAL_EXPAT)

28
29
30
IF(NOT OTB_USE_EXTERNAL_BOOST)
  SUBDIRS(BGL)
ENDIF(NOT OTB_USE_EXTERNAL_BOOST)
31

32
33

SUBDIRS(otbsvm dxflib InsightJournal otbossim otbossimplugins otb6S tinyXMLlib otbkml otbliblas otbedison otbsiftfast)
34

35
36
37
38
IF(BUILD_TESTING)
        SUBDIRS( Dart )
ENDIF(BUILD_TESTING)

39

40
41
42
#-----------------------------------------------------------------------------
# Install the UseOTB.cmake file configured from the top-level.
INSTALL_FILES(/lib/otb ".cmake" "OTBConfig")