aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/common
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-21 15:56:25 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-21 17:13:43 +0300
commit1a4540d78b931a11d5aece6b946ede86cf9876dc (patch)
treebab07d1c6b68d7aeb19e9e37ce8597f397961413 /server/common
parentcmake: install() PDB files (diff)
downloadmath-server-1a4540d78b931a11d5aece6b946ede86cf9876dc.tar.gz
math-server-1a4540d78b931a11d5aece6b946ede86cf9876dc.zip
cmake: use Boost::* targets
Diffstat (limited to '')
-rw-r--r--server/common/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
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)