]> granicus.if.org Git - libevent/commit
cmake: set CMP0075 to NEW (for ws2_32.lib in win32)
authorAzat Khuzhin <a3at.mail@gmail.com>
Mon, 5 Nov 2018 15:30:38 +0000 (18:30 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Mon, 5 Nov 2018 22:05:29 +0000 (01:05 +0300)
commit6d3a53966bc822fd580a6a02301838aca601391b
tree02cc5fcbba82eda1c5546805264ddaa5bc04ba82
parent65904773f2bf965e2050d4d7c91e30d4f123a787
cmake: set CMP0075 to NEW (for ws2_32.lib in win32)

Otherwise cmake complains:
  Policy CMP0075 is not set: Include file check macros honor
  CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  CMAKE_REQUIRED_LIBRARIES is set to:
    ws2_32.lib

  For compatibility with CMake 3.11 and below this check is ignoring it.
CMakeLists.txt