From f1d749e3cd3aaa5ec875ea29ca010b73d3174f2c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 7 Apr 2021 00:26:56 +0300 Subject: cmake: slight CMakeLists.txt refactoring --- server/common/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/common') 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) -- cgit v1.2.3