mirror of
https://github.com/boostorg/mysql.git
synced 2026-02-15 01:02:17 +00:00
Removed channel.cpp from unittests for MSVC
This commit is contained in:
@@ -17,7 +17,6 @@ endif()
|
||||
add_executable(
|
||||
mysql_unittests
|
||||
unit/serialization.cpp
|
||||
unit/channel.cpp
|
||||
unit/capabilities.cpp
|
||||
unit/auth.cpp
|
||||
unit/metadata.cpp
|
||||
@@ -25,6 +24,11 @@ add_executable(
|
||||
unit/value.cpp
|
||||
unit/row.cpp
|
||||
)
|
||||
# A codegen issue in MSVC C++17 makes gmock expectations not work
|
||||
if (NOT MSVC)
|
||||
target_sources(mysql_unittests PRIVATE unit/channel.cpp)
|
||||
endif()
|
||||
|
||||
target_include_directories(
|
||||
mysql_unittests
|
||||
PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user