Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
b4a51e3c
Commit
b4a51e3c
authored
12 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
COMP: OTB_USE_PQXX compilation macro is not used anywhere in the code
parent
8259adae
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMake/ImportPqxx.cmake
+0
-1
0 additions, 1 deletion
CMake/ImportPqxx.cmake
CMake/UseOTB.cmake.in
+0
-5
0 additions, 5 deletions
CMake/UseOTB.cmake.in
with
0 additions
and
6 deletions
CMake/ImportPqxx.cmake
+
0
−
1
View file @
b4a51e3c
...
@@ -7,7 +7,6 @@ IF(OTB_USE_PQXX)
...
@@ -7,7 +7,6 @@ IF(OTB_USE_PQXX)
FIND_PACKAGE
(
Pqxx
)
FIND_PACKAGE
(
Pqxx
)
IF
(
PQXX_FOUND
)
IF
(
PQXX_FOUND
)
MESSAGE
(
STATUS
"Activating Pqxx support"
)
MESSAGE
(
STATUS
"Activating Pqxx support"
)
ADD_DEFINITIONS
(
-DOTB_USE_PQXX
)
ELSE
(
PQXX_FOUND
)
ELSE
(
PQXX_FOUND
)
# Generate an error if no external Pqxx is available
# Generate an error if no external Pqxx is available
MESSAGE
(
FATAL_ERROR
"Pqxx required but not found. "
MESSAGE
(
FATAL_ERROR
"Pqxx required but not found. "
...
...
This diff is collapsed.
Click to expand it.
CMake/UseOTB.cmake.in
+
0
−
5
View file @
b4a51e3c
...
@@ -240,7 +240,6 @@ IF(OTB_USE_PQXX)
...
@@ -240,7 +240,6 @@ IF(OTB_USE_PQXX)
"Cannot find PQXX include directory. Please set PQXX_INCLUDE_DIR or SET OTB_USE_PQXX OFF.")
"Cannot find PQXX include directory. Please set PQXX_INCLUDE_DIR or SET OTB_USE_PQXX OFF.")
ENDIF (NOT PQXX_INCLUDE_DIR)
ENDIF (NOT PQXX_INCLUDE_DIR)
FIND_LIBRARY(PQXX_LIBRARY pqxx )
FIND_LIBRARY(PQXX_LIBRARY pqxx )
MARK_AS_ADVANCED(PQXX_LIBRARY)
MARK_AS_ADVANCED(PQXX_LIBRARY)
IF (NOT PQXX_LIBRARY)
IF (NOT PQXX_LIBRARY)
...
@@ -255,10 +254,6 @@ IF(OTB_USE_PQXX)
...
@@ -255,10 +254,6 @@ IF(OTB_USE_PQXX)
"Cannot find PQ library. Please set PQ_LIBRARY or SET OTB_USE_PQXX OFF.")
"Cannot find PQ library. Please set PQ_LIBRARY or SET OTB_USE_PQXX OFF.")
ENDIF (NOT PQ_LIBRARY)
ENDIF (NOT PQ_LIBRARY)
# Add compiler option
ADD_DEFINITIONS(-DOTB_USE_PQXX)
INCLUDE_DIRECTORIES(${PQXX_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${PQXX_INCLUDE_DIR})
ENDIF(OTB_USE_PQXX)
ENDIF(OTB_USE_PQXX)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment