aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/common
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-07 00:26:56 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-07 00:36:07 +0300
commitf1d749e3cd3aaa5ec875ea29ca010b73d3174f2c (patch)
treed0231b9283ea744223964d2f9d4e994dd165d96e /server/common
parentcmake: check CTest tests output (diff)
downloadmath-server-f1d749e3cd3aaa5ec875ea29ca010b73d3174f2c.tar.gz
math-server-f1d749e3cd3aaa5ec875ea29ca010b73d3174f2c.zip
cmake: slight CMakeLists.txt refactoring
Diffstat (limited to '')
-rw-r--r--server/common/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/common/CMakeLists.txt b/server/common/CMakeLists.txt
index f3d6605..77e35f0 100644
--- a/server/common/CMakeLists.txt
+++ b/server/common/CMakeLists.txt
@@ -1,5 +1,5 @@
+find_package(Boost REQUIRED)
+
add_library(common INTERFACE)
target_include_directories(common INTERFACE ..)
-
-find_package(Boost REQUIRED)
-target_link_libraries(common INTERFACE Boost::boost)
+target_link_libraries(common INTERFACE Boost::disable_autolinking Boost::boost)