Cooperate with CMAKE_MODULE_PATH set by Conan

This commit is contained in:
John Freeman
2020-02-12 13:08:04 -06:00
committed by Mike Ellery
parent e7ce3909d2
commit 20d4a39b63
4 changed files with 3 additions and 1 deletions

View File

@@ -4,6 +4,8 @@ if (POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif ()
project (rippled)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Builds/CMake")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Builds/CMake/deps")
@@ -20,7 +22,6 @@ include (ProcessorCount)
if (target)
message (FATAL_ERROR "The target option has been removed - use native cmake options to control build")
endif ()
project (rippled)
include(RippledSanity)
include(RippledVersion)