diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 12:48:48 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-21 12:48:48 +0300 |
commit | d03d853b9a608dda5ef9cbb40384f3dbabb3ed5a (patch) | |
tree | 71bb2b05c0ff8159d387116ef5dcf50075981c6d /cxx | |
parent | update cmake-common (diff) | |
download | aes-tools-d03d853b9a608dda5ef9cbb40384f3dbabb3ed5a.tar.gz aes-tools-d03d853b9a608dda5ef9cbb40384f3dbabb3ed5a.zip |
cmake: use Boost::* imported targets
Diffstat (limited to '')
-rw-r--r-- | cxx/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cxx/CMakeLists.txt b/cxx/CMakeLists.txt index 2c265f5..64613f7 100644 --- a/cxx/CMakeLists.txt +++ b/cxx/CMakeLists.txt @@ -2,8 +2,7 @@ find_package(Boost REQUIRED) add_library(aesxx INTERFACE) target_include_directories(aesxx INTERFACE include/) -target_include_directories(aesxx SYSTEM INTERFACE ${Boost_INCLUDE_DIRS}) -target_link_libraries(aesxx INTERFACE aes) +target_link_libraries(aesxx INTERFACE aes Boost::boost) if(MSVC_VERSION EQUAL 1900) # These annoying DbgHelp.h warnings: |