Skip to content

Commit

Permalink
remove extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyu1994 committed Apr 20, 2022
1 parent 590cf3c commit 406dcfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,11 @@ if(WIN32 AND MINGW)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++")
endif()

if (WIN32)
if(WIN32)
include(CheckSymbolExists)
list(APPEND CMAKE_REQUIRED_LIBRARIES "ws2_32")
check_symbol_exists(inet_pton "ws2tcpip.h" INET_PTON_FOUND)
if (INET_PTON_FOUND)
if(INET_PTON_FOUND)
add_definitions(-DHAS_INET_PTON)
endif()
endif()
Expand Down

0 comments on commit 406dcfc

Please sign in to comment.