Skip to content
Snippets Groups Projects
Commit 522e2849 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

COMP: use correct pq lib from cmake option

parent 99177a4c
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,6 @@ IF(OTB_USE_MAPNIK) ...@@ -22,7 +22,6 @@ IF(OTB_USE_MAPNIK)
ENDIF(OTB_USE_MAPNIK) ENDIF(OTB_USE_MAPNIK)
IF(OTB_USE_PQXX) IF(OTB_USE_PQXX)
#TODO this line should be refined when we will like to have this capability with windows
TARGET_LINK_LIBRARIES(OTBCommon ${PQ_LIBRARY} ${PQXX_LIBRARY}) TARGET_LINK_LIBRARIES(OTBCommon ${PQ_LIBRARY} ${PQXX_LIBRARY})
ENDIF(OTB_USE_PQXX) ENDIF(OTB_USE_PQXX)
......
...@@ -4,7 +4,7 @@ FILE(GLOB OTBGeospatialAnalysis_SRCS "*.cxx" ) ...@@ -4,7 +4,7 @@ FILE(GLOB OTBGeospatialAnalysis_SRCS "*.cxx" )
ADD_LIBRARY(OTBGeospatialAnalysis ${OTBGeospatialAnalysis_SRCS}) ADD_LIBRARY(OTBGeospatialAnalysis ${OTBGeospatialAnalysis_SRCS})
TARGET_LINK_LIBRARIES (OTBGeospatialAnalysis OTBCommon pq pqxx) TARGET_LINK_LIBRARIES (OTBGeospatialAnalysis OTBCommon ${PQ_LIBRARY} ${PQXX_LIBRARY})
IF(OTB_LIBRARY_PROPERTIES) IF(OTB_LIBRARY_PROPERTIES)
SET_TARGET_PROPERTIES(OTBGeospatialAnalysis PROPERTIES ${OTB_LIBRARY_PROPERTIES}) SET_TARGET_PROPERTIES(OTBGeospatialAnalysis PROPERTIES ${OTB_LIBRARY_PROPERTIES})
ENDIF(OTB_LIBRARY_PROPERTIES) ENDIF(OTB_LIBRARY_PROPERTIES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment