From 1a4540d78b931a11d5aece6b946ede86cf9876dc Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 21 Dec 2019 15:56:25 +0300 Subject: cmake: use Boost::* targets --- server/common/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'server/common/CMakeLists.txt') diff --git a/server/common/CMakeLists.txt b/server/common/CMakeLists.txt index 5655861..5fe9e7f 100644 --- a/server/common/CMakeLists.txt +++ b/server/common/CMakeLists.txt @@ -1,6 +1,4 @@ find_package(Boost REQUIRED) add_library(common INTERFACE) - -target_include_directories(common SYSTEM INTERFACE ${Boost_INCLUDE_DIRS}) -target_link_libraries(common INTERFACE ${Boost_LIBRARIES}) +target_link_libraries(common INTERFACE Boost::boost) -- cgit v1.2.3