diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 20:20:52 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 20:20:52 +0300 |
commit | 0a82acb304faade58dcfd427cc0dcbc18b1584c6 (patch) | |
tree | 69a712bdd90626dc067371098846c42140f5d683 /aesxx | |
parent | update cmake-common (diff) | |
download | aes-tools-0a82acb304faade58dcfd427cc0dcbc18b1584c6.tar.gz aes-tools-0a82acb304faade58dcfd427cc0dcbc18b1584c6.zip |
Boost::disable_autolinking is mandatory
Diffstat (limited to '')
-rw-r--r-- | aesxx/utils/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aesxx/utils/CMakeLists.txt b/aesxx/utils/CMakeLists.txt index 27d3422..235df6c 100644 --- a/aesxx/utils/CMakeLists.txt +++ b/aesxx/utils/CMakeLists.txt @@ -3,7 +3,7 @@ find_package(Boost REQUIRED COMPONENTS filesystem program_options) function(add_util name src) set(target "util_${name}") add_executable("${target}" ${src}) - target_link_libraries("${target}" PRIVATE aesxx Boost::filesystem Boost::program_options) + target_link_libraries("${target}" PRIVATE aesxx Boost::disable_autolinking Boost::filesystem Boost::program_options) set_target_properties("${target}" PROPERTIES OUTPUT_NAME "${name}") install(TARGETS "${target}" RUNTIME DESTINATION bin) if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") |