mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 04:44:27 +02:00
build: Conan generator changed to provide more transparent dependency handling
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user