Commit b41d003a authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: try fix mantis 1187

parent a5506372
......@@ -119,6 +119,29 @@ else(UNIX)
endif()
# Call external projects
if(USE_SYSTEM_GDAL)
set(CURL_DEFAULT ON)
else()
set(CURL_DEFAULT OFF)
endif()
if(USE_SYSTEM_QT4)
set(SQLITE_DEFAULT ON)
else()
set(SQLITE_DEFAULT OFF)
endif()
if(USE_SYSTEM_SQLITE)
set(QT4_DEFAULT ON)
else()
set(QT4_DEFAULT OFF)
endif()
if(WIN32)
set(OSSIM_DEFAULT ON)
else()
set(OSSIM_DEFAULT OFF)
endif()
#TODO: enforce check from ITK on directory length
# Setup third parties
......@@ -129,26 +152,18 @@ SETUP_SYSTEM_LIBRARY(PROJECT PNG DEFAULT ON)
SETUP_SYSTEM_LIBRARY(PROJECT TIFF DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT PROJ DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT GEOTIFF DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT SQLITE DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT SQLITE DEFAULT ${SQLITE_DEFAULT})
SETUP_SYSTEM_LIBRARY(PROJECT GEOS DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT OPENJPEG DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT BOOST DEFAULT ON)
SETUP_SYSTEM_LIBRARY(PROJECT LIBKML DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT CURL DEFAULT ON)
if(WIN32)
SETUP_SYSTEM_LIBRARY(PROJECT OPENSSL DEFAULT OFF)
else()
SETUP_SYSTEM_LIBRARY(PROJECT OPENSSL DEFAULT ON)
endif()
SETUP_SYSTEM_LIBRARY(PROJECT CURL DEFAULT ${CURL_DEFAULT})
SETUP_SYSTEM_LIBRARY(PROJECT OPENSSL DEFAULT ${CURL_DEFAULT})
SETUP_SYSTEM_LIBRARY(PROJECT GDAL DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT FFTW DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT ITK DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT OPENTHREADS DEFAULT OFF)
if(WIN32)
SETUP_SYSTEM_LIBRARY(PROJECT OSSIM DEFAULT ON)
else()
SETUP_SYSTEM_LIBRARY(PROJECT OSSIM DEFAULT OFF)
endif()
SETUP_SYSTEM_LIBRARY(PROJECT OSSIM DEFAULT ${OSSIM_DEFAULT})
SETUP_SYSTEM_LIBRARY(PROJECT MUPARSER DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT MUPARSERX DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT TINYXML DEFAULT OFF)
......@@ -156,10 +171,8 @@ SETUP_SYSTEM_LIBRARY(PROJECT OPENCV DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT LIBSVM DEFAULT OFF)
SETUP_SYSTEM_LIBRARY(PROJECT PCRE DEFAULT ON)
SETUP_SYSTEM_LIBRARY(PROJECT SWIG DEFAULT ON)
SETUP_SYSTEM_LIBRARY(PROJECT QT4 DEFAULT ON)
SETUP_SYSTEM_LIBRARY(PROJECT QT4 DEFAULT ${QT4_DEFAULT})
SETUP_SYSTEM_LIBRARY(PROJECT QWT DEFAULT ON)
SETUP_SYSTEM_LIBRARY(PROJECT GLEW DEFAULT ON)
SETUP_SYSTEM_LIBRARY(PROJECT GLFW DEFAULT ON)
SETUP_SYSTEM_LIBRARY(PROJECT GLUT DEFAULT ON)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment