aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-21 12:48:48 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-21 12:48:48 +0300
commitd03d853b9a608dda5ef9cbb40384f3dbabb3ed5a (patch)
tree71bb2b05c0ff8159d387116ef5dcf50075981c6d /cxx
parentupdate cmake-common (diff)
downloadaes-tools-d03d853b9a608dda5ef9cbb40384f3dbabb3ed5a.tar.gz
aes-tools-d03d853b9a608dda5ef9cbb40384f3dbabb3ed5a.zip
cmake: use Boost::* imported targets
Diffstat (limited to '')
-rw-r--r--cxx/CMakeLists.txt3
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: