Modified:
branches/cmake/driver/CMakeLists.txt
Log:
Fixed windows build
Modified: branches/cmake/driver/CMakeLists.txt
===================================================================
--- branches/cmake/driver/CMakeLists.txt 2007-05-30 00:34:58 UTC (rev 450)
+++ branches/cmake/driver/CMakeLists.txt 2007-05-30 07:03:05 UTC (rev 451)
@@ -8,7 +8,7 @@
ENDIF(${ODBC_WINDOWS})
-ADD_LIBRARY(myodbc3 SHARED catalog.c connect.c cursor.c dll.c error.c execute.c handle.c
info.c myodbc3.c
+SET(DRV_SRCS catalog.c connect.c cursor.c dll.c error.c execute.c handle.c info.c
myodbc3.c
options.c prepare.c results.c transact.c utility.c
../util/MYODBCUtilAllocDataSource.c ../util/MYODBCUtilAllocDriver.c
../util/MYODBCUtilClearDataSource.c ../util/MYODBCUtilClearDriver.c
@@ -35,6 +35,12 @@
../MYODBCDbg/MYODBCDbgLib/MYODBCDbgTransactionTypeString.c
myodbc3.rc)
+IF (ODBC_WINDOWS)
+ SET(DRV_SRCS ${DRV_SRCS} myodbc.def)
+ENDIF (ODBC_WINDOWS)
+
+ADD_LIBRARY(myodbc3 SHARED ${DRV_SRCS})
+
IF(ODBC_UNIX)
TARGET_LINK_LIBRARIES(myodbc3 ltdl mysqlclient_r)
ENDIF(ODBC_UNIX)
| Thread |
|---|
| • Connector/ODBC 3.51 commit: r451 - branches/cmake/driver | grichter | 30 May |