Skip to content
Permalink
Browse files
prefix library name with 'qgis' like other provider support libraries…
… (ie grass); add OSX properties

git-svn-id: http://svn.osgeo.org/qgis/trunk@15000 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
kyngchaos committed Jan 6, 2011
1 parent f373836 commit f663659ee622ba8ac97d1a79e67886f12c955ad7
Showing with 8 additions and 5 deletions.
  1. +8 −5 src/providers/sqlanywhere/sqlanyconnection/CMakeLists.txt
@@ -24,25 +24,28 @@ INCLUDE_DIRECTORIES(
../../../core
)

ADD_LIBRARY (sqlanyconnection SHARED ${SACONN_SRCS})
ADD_LIBRARY (qgissqlanyconnection SHARED ${SACONN_SRCS})

SET_TARGET_PROPERTIES(sqlanyconnection PROPERTIES VERSION ${COMPLETE_VERSION} SOVERSION ${COMPLETE_VERSION})
SET_TARGET_PROPERTIES(qgissqlanyconnection PROPERTIES VERSION ${COMPLETE_VERSION} SOVERSION ${COMPLETE_VERSION})

TARGET_LINK_LIBRARIES(sqlanyconnection
TARGET_LINK_LIBRARIES(qgissqlanyconnection
qgis_core
)

IF (APPLE)
SET_TARGET_PROPERTIES(qgissqlanyconnection PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
ENDIF (APPLE)

########################################################
# Install

IF (WIN32)
INSTALL(TARGETS sqlanyconnection
INSTALL(TARGETS qgissqlanyconnection
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR}
)
ELSE (WIN32)
INSTALL(TARGETS sqlanyconnection
INSTALL(TARGETS qgissqlanyconnection
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_LIB_DIR}
)

0 comments on commit f663659

Please sign in to comment.