mirror of
https://github.com/boostorg/io.git
synced 2025-07-29 11:57:14 +02:00
Reformat CMakeLists.txt
This commit is contained in:
@ -1,16 +1,15 @@
|
|||||||
# Copyright 2018 Mike Dev
|
# Copyright 2018 Mike Dev
|
||||||
|
#
|
||||||
# Distributed under the Boost Software License, Version 1.0.
|
# 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 )
|
cmake_minimum_required(VERSION 3.5)
|
||||||
project( BoostIO LANGUAGES CXX )
|
|
||||||
|
|
||||||
add_library( boost_io INTERFACE )
|
project(BoostIO LANGUAGES CXX)
|
||||||
add_library( Boost::io ALIAS boost_io )
|
|
||||||
|
|
||||||
target_include_directories( boost_io INTERFACE include )
|
add_library(boost_io INTERFACE)
|
||||||
|
add_library(Boost::io ALIAS boost_io)
|
||||||
|
|
||||||
target_link_libraries( boost_io
|
target_include_directories(boost_io INTERFACE include)
|
||||||
INTERFACE
|
|
||||||
Boost::config
|
target_link_libraries(boost_io INTERFACE Boost::config)
|
||||||
)
|
|
||||||
|
Reference in New Issue
Block a user