move FindSodium to builds/cmake/Modules

with the rest of the CMake modules
This commit is contained in:
Min RK 2018-01-12 16:27:24 -08:00
parent f8da0ac721
commit 5f8488de6d
2 changed files with 2 additions and 3 deletions

View File

@ -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)