Skip to content

Commit

Permalink
Fix for windows build if Connector/C is build as standalone.
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Jan 15, 2020
1 parent 558374d commit 1f14036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ IF(NOT IS_SUBPROJECT)
IF(MSVC)
# Speedup system tests
INCLUDE(${CC_SOURCE_DIR}/cmake/WindowsCache.cmake)
ADD_DEFINITIONS(-DWIN32_LEAN_AND_MEAN)
IF (MSVC)
SET(CONFIG_TYPES "DEBUG" "RELEASE" "RELWITHDEBINFO")
FOREACH(BUILD_TYPE ${CONFIG_TYPES})
Expand Down

0 comments on commit 1f14036

Please sign in to comment.