Commit 4140385e authored by Rashad Kanavath's avatar Rashad Kanavath

MANTIS: 1191. unused find_package calls

parent cab84a56
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_CURL__)
set(__EXTERNAL_CURL__ 1)
if(USE_SYSTEM_CURL)
find_package ( CURL )
message(STATUS " Using cURL system version")
else()
SETUP_SUPERBUILD(PROJECT CURL)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_EXPAT__)
set(__EXTERNAL_EXPAT__ 1)
if(USE_SYSTEM_EXPAT)
find_package ( EXPAT )
message(STATUS " Using expat system version")
else()
SETUP_SUPERBUILD(PROJECT EXPAT)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_FREETYPE__)
set(__EXTERNAL_FREETYPE__ 1)
if(USE_SYSTEM_FREETYPE)
find_package ( FreeType )
message(STATUS " Using FreeType system version")
else()
SETUP_SUPERBUILD(PROJECT FREETYPE)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_GEOTIFF__)
set(__EXTERNAL_GEOTIFF__ 1)
if(USE_SYSTEM_GEOTIFF)
find_package ( GeoTIFF )
message(STATUS " Using libgeotiff system version")
else()
SETUP_SUPERBUILD(PROJECT GEOTIFF)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_GLEW__)
set(__EXTERNAL_GLEW__ 1)
if(USE_SYSTEM_GLEW)
find_package ( GLEW )
message(STATUS " Using GLEW system version")
else()
SETUP_SUPERBUILD(PROJECT GLEW)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_ITK__)
set(__EXTERNAL_ITK__ 1)
if(USE_SYSTEM_ITK)
find_package ( ITK )
message(STATUS " Using ITK system version")
else()
SETUP_SUPERBUILD(PROJECT ITK)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_JPEG__)
set(__EXTERNAL_JPEG__ 1)
if(USE_SYSTEM_JPEG)
find_package ( JPEG )
message(STATUS " Using libjpeg system version")
else()
SETUP_SUPERBUILD(PROJECT JPEG)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_LIBKML__)
set(__EXTERNAL_LIBKML__ 1)
if(USE_SYSTEM_LIBKML)
find_package ( LibKML )
message(STATUS " Using libKML system version")
else()
SETUP_SUPERBUILD(PROJECT LIBKML)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_LIBSVM__)
set(__EXTERNAL_LIBSVM__ 1)
if(USE_SYSTEM_LIBSVM)
find_package ( LibSVM )
message(STATUS " Using LibSVM system version")
else()
SETUP_SUPERBUILD(PROJECT LIBSVM)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_MUPARSER__)
set(__EXTERNAL_MUPARSER__ 1)
if(USE_SYSTEM_MUPARSER)
find_package ( MuParser )
message(STATUS " Using muParser system version")
else()
SETUP_SUPERBUILD(PROJECT MUPARSER)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_MUPARSERX__)
set(__EXTERNAL_MUPARSERX__ 1)
if(USE_SYSTEM_MUPARSERX)
find_package ( MuParserX )
message(STATUS " Using muParserX system version")
else()
SETUP_SUPERBUILD(PROJECT MUPARSERX)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_OPENCV__)
set(__EXTERNAL_OPENCV__ 1)
if(USE_SYSTEM_OPENCV)
find_package ( OpenCV )
message(STATUS " Using OpenCV system version")
else()
SETUP_SUPERBUILD(PROJECT OPENCV)
......
......@@ -2,8 +2,6 @@ if(NOT __EXTERNAL_OPENJPEG__)
set(__EXTERNAL_OPENJPEG__ 1)
if(USE_SYSTEM_OPENJPEG)
# TODO : FindOpenJPEG.cmake
find_package ( OpenJPEG )
message(STATUS " Using OpenJpeg system version")
else()
SETUP_SUPERBUILD(PROJECT OPENJPEG)
......
......@@ -4,7 +4,6 @@ set(__EXTERNAL_OPENSSL__ 1)
#RK: OPENSSL is deactivated in QT4 build.
#revisit that when you have a clean openssl
if(USE_SYSTEM_OPENSSL)
find_package ( OPENSSL )
message(STATUS " Using OpenSSL system version")
else()
SETUP_SUPERBUILD(PROJECT OPENSSL)
......
......@@ -6,7 +6,6 @@ set(USE_SYSTEM_OPENTHREADS OFF)
endif()
if(USE_SYSTEM_OPENTHREADS)
find_package ( OpenThreads )
message(STATUS " Using OpenThread system version")
else()
SETUP_SUPERBUILD(PROJECT OPENTHREADS)
......
......@@ -8,7 +8,6 @@ set(__EXTERNAL_OSSIM__ 1)
#endif()
if(USE_SYSTEM_OSSIM)
find_package ( Ossim )
message(STATUS " Using OSSIM system version")
else()
SETUP_SUPERBUILD(PROJECT OSSIM)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_PNG__)
set(__EXTERNAL_PNG__ 1)
if(USE_SYSTEM_PNG)
find_package ( PNG )
message(STATUS " Using libpng system version")
else()
SETUP_SUPERBUILD(PROJECT PNG)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_QT4__)
set(__EXTERNAL_QT4__ 1)
if(USE_SYSTEM_QT4)
find_package ( Qt4 )
message(STATUS " Using Qt4 system version")
else()
SETUP_SUPERBUILD(PROJECT QT4)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_TIFF__)
set(__EXTERNAL_TIFF__ 1)
if(USE_SYSTEM_TIFF)
find_package ( TIFF )
message(STATUS " Using libtiff system version")
else()
SETUP_SUPERBUILD(PROJECT TIFF)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_TINYXML__)
set(__EXTERNAL_TINYXML__ 1)
if(USE_SYSTEM_TINYXML)
find_package ( TinyXML )
message(STATUS " Using TinyXML system version")
else()
SETUP_SUPERBUILD(PROJECT TINYXML)
......
......@@ -2,7 +2,6 @@ if(NOT __EXTERNAL_ZLIB__)
set(__EXTERNAL_ZLIB__ 1)
if(USE_SYSTEM_ZLIB)
find_package(ZLIB)
message(STATUS " Using Zlib system version")
else()
SETUP_SUPERBUILD(PROJECT ZLIB)
......
Markdown is supported
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