Commit 5f8488de authored by Min RK's avatar Min RK

move FindSodium to builds/cmake/Modules

with the rest of the CMake modules
parent f8da0ac7
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment