mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
move FindSodium to builds/cmake/Modules
with the rest of the CMake modules
This commit is contained in:
parent
f8da0ac721
commit
5f8488de6d
@ -4,6 +4,8 @@ cmake_minimum_required (VERSION 2.8.12)
|
||||
project (ZeroMQ)
|
||||
|
||||
list (INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
set (ZMQ_CMAKE_MODULES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/builds/cmake/Modules)
|
||||
list (APPEND CMAKE_MODULE_PATH ${ZMQ_CMAKE_MODULES_DIR})
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
CHECK_CXX_COMPILER_FLAG("-std=gnu++11" COMPILER_SUPPORTS_CXX11)
|
||||
@ -165,9 +167,6 @@ else ()
|
||||
message (FATAL_ERROR "Invalid polling method")
|
||||
endif ()
|
||||
|
||||
set (ZMQ_CMAKE_MODULES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/builds/cmake/Modules)
|
||||
list (APPEND CMAKE_MODULE_PATH ${ZMQ_CMAKE_MODULES_DIR})
|
||||
|
||||
include (TestZMQVersion)
|
||||
if (NOT CMAKE_CROSSCOMPILING)
|
||||
include (ZMQSourceRunChecks)
|
||||
|
Loading…
Reference in New Issue
Block a user