Fixing some issues from rebasing

This commit is contained in:
Tim Wojtulewicz 2022-10-24 15:20:54 -07:00 committed by Tomer Lev
parent 45fa4c0dc4
commit 77c555a3a8
21 changed files with 85 additions and 158 deletions

View file

@ -16,8 +16,6 @@ list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR})
# Windows: Configure runtime and dependencies
if ( MSVC )
cmake_policy(SET CMP0091 NEW)
# Remove existing runtime flags
set(CompilerFlags
CMAKE_CXX_FLAGS
@ -82,12 +80,6 @@ if ( MSVC )
find_package(ZLIB)
set(ZLIB_LIBRARY ${ZLIB_LIBRARIES})
# Set Kqueue to point at the right variable.
find_package(kqueue)
set(LIBKQUEUE_ROOT_DIR "${kqueue_INCLUDES}/../")
set(LIBKQUEUE_INCLUDE_DIRS ${kqueue_INCLUDES})
set(LIBKQUEUE_LIBRARIES ${kqueue_LIBS})
# Set CAres
find_package(c-ares)
set(HAVE_CARES true) # Disable FindCAres cmake file