mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
This commit is contained in:
commit
9ff78c618c
1 changed files with 4 additions and 1 deletions
|
@ -51,9 +51,12 @@ add_definitions( -DUNIX -DLINUX -DUBUNTU )
|
|||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -fexceptions -fPIC ")
|
||||
get_property(inc_dirs DIRECTORY PROPERTY INCLUDE_DIRECTORIES)
|
||||
SET(CONNECT_SOURCES ${CONNECT_SOURCES} inihandl.c)
|
||||
SET(IPHLPAPI_LIBRARY "")
|
||||
ELSE(!UNIX)
|
||||
# Windows (manually add exception handling to the CONNECT project)
|
||||
SET(CONNECT_SOURCES ${CONNECT_SOURCES} tabwmi.cpp tabmac.cpp macutil.cpp)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
|
||||
SET(IPHLPAPI_LIBRARY iphlpapi.lib)
|
||||
ENDIF(UNIX)
|
||||
|
||||
|
||||
|
@ -176,4 +179,4 @@ MYSQL_ADD_PLUGIN(connect ${CONNECT_SOURCES}
|
|||
STORAGE_ENGINE MODULE_ONLY
|
||||
MODULE_OUTPUT_NAME "ha_connect"
|
||||
LINK_LIBRARIES ${ZLIB_LIBRARY} ${XML_LIBRARY} ${ICONV_LIBRARY}
|
||||
${MYSQL_LIBRARY} ${ODBC_LIBRARY})
|
||||
${MYSQL_LIBRARY} ${ODBC_LIBRARY} ${IPHLPAPI_LIBRARY})
|
||||
|
|
Loading…
Add table
Reference in a new issue