diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-07 00:26:56 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-07 00:36:07 +0300 |
commit | f1d749e3cd3aaa5ec875ea29ca010b73d3174f2c (patch) | |
tree | d0231b9283ea744223964d2f9d4e994dd165d96e /server/common/CMakeLists.txt | |
parent | cmake: check CTest tests output (diff) | |
download | math-server-f1d749e3cd3aaa5ec875ea29ca010b73d3174f2c.tar.gz math-server-f1d749e3cd3aaa5ec875ea29ca010b73d3174f2c.zip |
cmake: slight CMakeLists.txt refactoring
Diffstat (limited to 'server/common/CMakeLists.txt')
-rw-r--r-- | server/common/CMakeLists.txt | 6 |
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) |