Skip to content

Commit 35295e3

Browse files
author
homann
committed
Small fix for postgres headers
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6508 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0fb3f48 commit 35295e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,11 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}
264264
${GDAL_INCLUDE_DIR}
265265
)
266266

267+
268+
IF (POSTGRES_FOUND)
269+
INCLUDE_DIRECTORIES(${POSTGRES_INCLUDE_DIR})
270+
ENDIF (POSTGRES_FOUND)
271+
267272
IF (WIN32)
268273
IF (MSVC)
269274
ADD_DEFINITIONS("-DCORE_EXPORT=__declspec(dllexport)")

0 commit comments

Comments
 (0)