[58f684]: src / CMakeLists.txt Maximize Restore History

Download this file

CMakeLists.txt    30 lines (23 with data), 882 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
include_directories( ${CMAKE_BINARY_DIR}/src )
include_directories( ${CMAKE_SOURCE_DIR}/src/hugin_base )
include_directories( ${CMAKE_SOURCE_DIR}/src/foreign )
include_directories( ${CMAKE_SOURCE_DIR}/src/foreign/vigra )
# define common sets of libraries, used by different subdirectories
set(common_libs huginbase huginjhead
boost_thread ${PANO_LIBRARIES} huginlevmar)
set(image_libs huginvigraimpex ${JPEG_LIBRARIES} ${TIFF_LIBRARIES}
${PNG_LIBRARIES} ${OPENEXR_LIBRARIES})
add_subdirectory(foreign)
add_subdirectory(hugin_base)
add_subdirectory(tools)
add_subdirectory(deghosting)
# build vips stuff, only if vips was found
# not ready for the general public yet
IF(VIPS_FOUND)
# add_subdirectory(vips)
ENDIF(VIPS_FOUND)
# build gui only if wxWidgets was found
IF(wxWidgets_FOUND)
INCLUDE(${wxWidgets_USE_FILE})
add_subdirectory(hugin1)
ENDIF(wxWidgets_FOUND)