Skip to content
Snippets Groups Projects
Commit 4d62f136 authored by Julien Malik's avatar Julien Malik
Browse files

STYLE

parent cce9ee81
Branches
Tags
No related merge requests found
......@@ -5,14 +5,14 @@ MARK_AS_ADVANCED(OTB_USE_PQXX)
IF(OTB_USE_PQXX)
FIND_PACKAGE(Pqxx)
IF(PQXX_FOUND)
MESSAGE(STATUS "Activating Pqxx support")
ADD_DEFINITIONS(-DOTB_USE_PQXX)
ELSE(PQXX_FOUND)
# Generate an error if no external Pqxx is available
MESSAGE(FATAL_ERROR "Pqxx required but not found. "
"Turn OTB_USE_PQXX to OFF")
ENDIF(PQXX_FOUND)
IF(PQXX_FOUND)
MESSAGE(STATUS "Activating Pqxx support")
ADD_DEFINITIONS(-DOTB_USE_PQXX)
ELSE(PQXX_FOUND)
# Generate an error if no external Pqxx is available
MESSAGE(FATAL_ERROR "Pqxx required but not found. "
"Turn OTB_USE_PQXX to OFF")
ENDIF(PQXX_FOUND)
ELSE(OTB_USE_PQXX)
MESSAGE(STATUS "Disabling Pqxx support")
ENDIF(OTB_USE_PQXX)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment