aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 20:20:52 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 20:20:52 +0300
commit0a82acb304faade58dcfd427cc0dcbc18b1584c6 (patch)
tree69a712bdd90626dc067371098846c42140f5d683
parentupdate cmake-common (diff)
downloadaes-tools-0a82acb304faade58dcfd427cc0dcbc18b1584c6.tar.gz
aes-tools-0a82acb304faade58dcfd427cc0dcbc18b1584c6.zip
Boost::disable_autolinking is mandatory
-rw-r--r--aesxx/utils/CMakeLists.txt2
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")