Skip to content

Commit f663659

Browse files
author
kyngchaos
committedJan 6, 2011
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
1 parent f373836 commit f663659

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed
 

‎src/providers/sqlanywhere/sqlanyconnection/CMakeLists.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,28 @@ INCLUDE_DIRECTORIES(
2424
../../../core
2525
)
2626

27-
ADD_LIBRARY (sqlanyconnection SHARED ${SACONN_SRCS})
27+
ADD_LIBRARY (qgissqlanyconnection SHARED ${SACONN_SRCS})
2828

29-
SET_TARGET_PROPERTIES(sqlanyconnection PROPERTIES VERSION ${COMPLETE_VERSION} SOVERSION ${COMPLETE_VERSION})
29+
SET_TARGET_PROPERTIES(qgissqlanyconnection PROPERTIES VERSION ${COMPLETE_VERSION} SOVERSION ${COMPLETE_VERSION})
3030

31-
TARGET_LINK_LIBRARIES(sqlanyconnection
31+
TARGET_LINK_LIBRARIES(qgissqlanyconnection
3232
qgis_core
3333
)
3434

35+
IF (APPLE)
36+
SET_TARGET_PROPERTIES(qgissqlanyconnection PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
37+
ENDIF (APPLE)
3538

3639
########################################################
3740
# Install
3841

3942
IF (WIN32)
40-
INSTALL(TARGETS sqlanyconnection
43+
INSTALL(TARGETS qgissqlanyconnection
4144
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
4245
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR}
4346
)
4447
ELSE (WIN32)
45-
INSTALL(TARGETS sqlanyconnection
48+
INSTALL(TARGETS qgissqlanyconnection
4649
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
4750
LIBRARY DESTINATION ${QGIS_LIB_DIR}
4851
)

0 commit comments

Comments
 (0)
Please sign in to comment.