Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Jun 9, 2021
1 parent 8a51f6f commit 8ba35b5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
# Distributed under the Boost Software License, Version 1.0.
# (http://www.boost.org/LICENSE_1_0.txt)

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.5...3.20)

project(BoostPolygon LANGUAGES CXX)
project(boost_polygon VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)

add_library(boost_polygon INTERFACE)

add_library(Boost::polygon ALIAS boost_polygon)

target_include_directories(boost_polygon INTERFACE include)

target_link_libraries(boost_polygon INTERFACE Boost::config)
target_link_libraries(boost_polygon
INTERFACE
Boost::config
)

0 comments on commit 8ba35b5

Please sign in to comment.