diff --git a/CMakeLists.txt b/CMakeLists.txt index 9869747..1078f1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,15 +2,15 @@ # 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 -cmake_minimum_required(VERSION 3.5) -project(BoostIO LANGUAGES CXX) +cmake_minimum_required( VERSION 3.5 ) +project( BoostIO LANGUAGES CXX ) -add_library(boost_io INTERFACE) -add_library(Boost::io ALIAS boost_io) +add_library( boost_io INTERFACE ) +add_library( Boost::io ALIAS boost_io ) -target_include_directories(boost_io INTERFACE include) +target_include_directories( boost_io INTERFACE include ) -target_link_libraries(boost_io +target_link_libraries( boost_io INTERFACE Boost::config ) diff --git a/test/test_cmake/CMakeLists.txt b/test/test_cmake/CMakeLists.txt index 0384dae..46bfcf4 100644 --- a/test/test_cmake/CMakeLists.txt +++ b/test/test_cmake/CMakeLists.txt @@ -3,7 +3,8 @@ # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt # # NOTE: This does NOT run the unit tests for Boost.IO. -# It only tests, if the CMakeLists.txt file in it's root works as expected +# It only tests, if the CMakeLists.txt file in the +# Boost.IO root directory works as expected. cmake_minimum_required( VERSION 3.5 )