Permalink
Browse files

Remove parens in CMakeLists.txt that break build process with cmake 2.6.

  • Loading branch information...
1 parent a6cdbe9 commit e94a02507e1cd31af3592174910e7b471403f317 @sdlime sdlime committed Aug 5, 2013
Showing with 8 additions and 8 deletions.
  1. +8 −8 CMakeLists.txt
View
@@ -451,10 +451,10 @@ if(WITH_POSTGIS)
find_package(PostgreSQL)
if(POSTGRESQL_FOUND)
#uppercase our variables
- if ( NOT DEFINED(POSTGRESQL_LIBRARY) )
+ if ( NOT DEFINED POSTGRESQL_LIBRARY )
set( POSTGRESQL_LIBRARY ${PostgreSQL_LIBRARY})
endif()
- if ( NOT DEFINED(POSTGRESQL_INCLUDE_DIR) )
+ if ( NOT DEFINED POSTGRESQL_INCLUDE_DIR )
set( POSTGRESQL_INCLUDE_DIR ${PostgreSQL_INCLUDE_DIR})
endif()
include_directories(${POSTGRESQL_INCLUDE_DIR})
@@ -525,9 +525,9 @@ if(WITH_OGR)
endif(GDAL_FOUND)
endif(WITH_OGR)
-if((WITH_CLIENT_WMS) OR (WITH_CLIENT_WFS))
+if(WITH_CLIENT_WMS OR WITH_CLIENT_WFS)
set(WITH_CURL ON)
-endif((WITH_CLIENT_WMS) OR (WITH_CLIENT_WFS))
+endif(WITH_CLIENT_WMS OR WITH_CLIENT_WFS)
if(WITH_CURL)
find_package(CURL)
@@ -540,7 +540,7 @@ if(WITH_CURL)
endif(CURL_FOUND)
endif(WITH_CURL)
-if((WITH_CLIENT_WMS) OR (WITH_CLIENT_WFS))
+if(WITH_CLIENT_WMS OR WITH_CLIENT_WFS)
if(NOT USE_CURL)
if(WITH_CLIENT_WFS)
report_dependency_error(CLIENT_WFS CURL)
@@ -549,7 +549,7 @@ if((WITH_CLIENT_WMS) OR (WITH_CLIENT_WFS))
report_dependency_error(CLIENT_WMS CURL)
endif(WITH_CLIENT_WMS)
endif(NOT USE_CURL)
-endif((WITH_CLIENT_WMS) OR (WITH_CLIENT_WFS))
+endif(WITH_CLIENT_WMS OR WITH_CLIENT_WFS)
if(WITH_CLIENT_WMS)
if(USE_GDAL AND USE_PROJ)
@@ -608,7 +608,7 @@ if(WITH_LIBXML2)
find_package(LibXml2)
if(LIBXML2_FOUND)
include_directories(${LIBXML2_INCLUDE_DIR})
- if(NOT DEFINED(LIBXML2_LIBRARY))
+ if(NOT DEFINED LIBXML2_LIBRARY)
set(LIBXML2_LIBRARY ${LIBXML2_LIBRARIES})
endif()
ms_link_libraries( ${LIBXML2_LIBRARY})
@@ -667,7 +667,7 @@ if(WITH_XMLMAPFILE)
#check for xslt and exslt
find_package(LibXslt)
if(LIBXSLT_FOUND)
- if(NOT DEFINED(LIBXSLT_LIBRARY))
+ if(NOT DEFINED LIBXSLT_LIBRARY)
set(LIBXSLT_LIBRARY ${LIBXSLT_LIBRARIES})
endif()
include_directories(${LIBXSLT_INCLUDE_DIR})

0 comments on commit e94a025

Please sign in to comment.