build: Conan generator changed to provide more transparent dependency handling

This commit is contained in:
Mateusz Pusz
2020-12-09 18:47:12 +01:00
parent 9efa8b4711
commit c5919d2cd8
7 changed files with 15 additions and 63 deletions

View File

@@ -23,15 +23,14 @@
cmake_minimum_required(VERSION 3.12)
project(mp-units)
# set path to custom cmake modules
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
# set paths to Conan packages
include(${CMAKE_BINARY_DIR}/conan_paths.cmake OPTIONAL)
# include common tools and workarounds
include(common/scripts)
# use Conan configuration if available
conan_init(cmake)
# enable static analysis
#enable_clang_tidy()
#enable_iwyu()