From 8f77d9cace3192969141c0ff91acf70ca2ed9dc7 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Mon, 23 Dec 2019 21:24:28 -0500 Subject: [PATCH] Reformat CMakeLists.txt --- CMakeLists.txt | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1078f1b..c9c1dd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,16 +1,15 @@ # Copyright 2018 Mike Dev +# # Distributed under the Boost Software License, Version 1.0. -# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt +# (http://www.boost.org/LICENSE_1_0.txt) -cmake_minimum_required( VERSION 3.5 ) -project( BoostIO LANGUAGES CXX ) +cmake_minimum_required(VERSION 3.5) -add_library( boost_io INTERFACE ) -add_library( Boost::io ALIAS boost_io ) +project(BoostIO LANGUAGES CXX) -target_include_directories( boost_io INTERFACE include ) +add_library(boost_io INTERFACE) +add_library(Boost::io ALIAS boost_io) -target_link_libraries( boost_io - INTERFACE - Boost::config -) +target_include_directories(boost_io INTERFACE include) + +target_link_libraries(boost_io INTERFACE Boost::config)