tune: add initial cmake configuration (#151)

* tune: add initial cmake configuration

* bugfix: Incorrect library alias

Co-authored-by: Jeff Garland <jeff@crystalclearsoftware.com>
This commit is contained in:
tapika
2020-05-18 23:59:29 +03:00
committed by GitHub
parent 5093074e0e
commit d77ee59bc2

21
CMakeLists.txt Normal file
View File

@@ -0,0 +1,21 @@
# Copyright 2020 Tarmo Pikaro
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
cmake_minimum_required( VERSION 3.5 )
project( BoostDateTime LANGUAGES CXX)
add_library( boost_date_time
src/gregorian/greg_month.cpp
)
add_library( Boost::date_time ALIAS boost_date_time )
target_include_directories( boost_date_time PUBLIC include )
target_link_libraries( boost_date_time
PUBLIC
Boost::config
)