Skip to content

Commit 096808e

Browse files
committedAug 22, 2011
adding support for spatialite
1 parent c1e6e87 commit 096808e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/core/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ ELSE(WIN32)
184184
ENDIF(WIN32)
185185

186186
IF (WITH_INTERNAL_SPATIALITE)
187-
IF (WIN32 OR APPLE)
187+
IF (WIN32 OR APPLE OR ANDROID)
188188
INCLUDE_DIRECTORIES(${ICONV_INCLUDE_DIR})
189-
ENDIF (WIN32 OR APPLE)
189+
ENDIF (WIN32 OR APPLE OR ANDROID)
190190
IF (WIN32)
191191
ADD_DEFINITIONS(-DDLL_EXPORT)
192192
ENDIF (WIN32)
@@ -485,7 +485,7 @@ IF (WITH_INTERNAL_SPATIALITE)
485485
TARGET_LINK_LIBRARIES(qgis_core ${ICONV_LIBRARY})
486486
ENDIF (WIN32 OR APPLE)
487487
IF (ANDROID)
488-
TARGET_LINK_LIBRARIES(qgis_core ${ICONV_LIBRARY} ${CMAKE_DL_LIBS})
488+
TARGET_LINK_LIBRARIES(qgis_core ${ICONV_LIBRARY} ${CHARSET_LIBRARY})
489489
ENDIF (ANDROID)
490490
IF (UNIX AND NOT ANDROID)
491491
TARGET_LINK_LIBRARIES(qgis_core pthread ${CMAKE_DL_LIBS})

0 commit comments

Comments
 (0)
Please sign in to comment.