Skip to content

Commit

Permalink
Disable Boost support by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed Feb 13, 2024
1 parent 88c835b commit 3d2e01e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ option(SOCI_ASAN "Enable building SOCI with enabled address sanitizers" OFF)
cmake_dependent_option(SOCI_LTO "Enable link time optimizations in release builds" ON "LTO_AVAILABLE" OFF)
option(SOCI_VISIBILITY "Make all functions hidden by default - this exposes only explicitly exported functions" ON)
set(SOCI_LD "" CACHE STRING "Specify a non-default linker")
option(SOCI_BOOST "Whether to enable Boost-specific bindings" ON)
# Default-enable only if Boost has been found before (in a superproject)
option(SOCI_BOOST "Whether to enable Boost-specific bindings" ${Boost_FOUND})


# Configure LTO for anything but Debug builds (if enabled in the first place)
Expand Down

0 comments on commit 3d2e01e

Please sign in to comment.