2010-09-22 10:01:54 +08:00
|
|
|
if(ANDROID)
|
|
|
|
configure_file("${CMAKE_SOURCE_DIR}/Android.mk.modules.in" "${CMAKE_CURRENT_BINARY_DIR}/Android.mk")
|
|
|
|
endif()
|
|
|
|
|
2010-05-12 01:44:00 +08:00
|
|
|
add_subdirectory(lapack)
|
|
|
|
add_subdirectory(zlib)
|
|
|
|
if(WITH_JASPER AND NOT JASPER_FOUND)
|
|
|
|
add_subdirectory(libjasper)
|
|
|
|
endif()
|
|
|
|
if(WITH_JPEG AND NOT JPEG_FOUND)
|
|
|
|
add_subdirectory(libjpeg)
|
|
|
|
endif()
|
|
|
|
if(WITH_PNG AND NOT PNG_FOUND)
|
|
|
|
add_subdirectory(libpng)
|
|
|
|
endif()
|
|
|
|
if(WITH_TIFF AND NOT TIFF_FOUND)
|
|
|
|
add_subdirectory(libtiff)
|
|
|
|
endif()
|
2010-09-22 10:01:54 +08:00
|
|
|
|
|
|
|
if(NOT ANDROID)
|
2010-09-21 23:50:22 +08:00
|
|
|
add_subdirectory(gtest)
|
2010-09-22 10:01:54 +08:00
|
|
|
endif()
|