Commit 522e2849 authored by Emmanuel Christophe's avatar Emmanuel Christophe

COMP: use correct pq lib from cmake option

parent 99177a4c
......@@ -22,7 +22,6 @@ IF(OTB_USE_MAPNIK)
ENDIF(OTB_USE_MAPNIK)
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})
ENDIF(OTB_USE_PQXX)
......
......@@ -4,7 +4,7 @@ FILE(GLOB OTBGeospatialAnalysis_SRCS "*.cxx" )
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)
SET_TARGET_PROPERTIES(OTBGeospatialAnalysis PROPERTIES ${OTB_LIBRARY_PROPERTIES})
ENDIF(OTB_LIBRARY_PROPERTIES)
......
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