We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c8e29a + 5a575a1 commit 1991b05Copy full SHA for 1991b05
CMakeLists.txt
@@ -52,7 +52,16 @@ set(REAL_TYPE double)
52
set(ADVBRANCH "#undef ADOLC_ADVANCED_BRANCHING")
53
set(ADTL_REFCNT "#undef USE_ADTL_REFCOUNTING")
54
set(SPARSE_DRIVERS "#undef SPARSE_DRIVERS")
55
-set(USE_BOOST_POOL "#undef USE_BOOST_POOL")
+
56
+option(ENABLE_BOOST_POOL "Flag to activate boost-pool support" OFF)
57
+if(ENABLE_BOOST_POOL)
58
+ message(STATUS "Boost-pool support is enabled.")
59
+ set(USE_BOOST_POOL "#define USE_BOOST_POOL 1")
60
+else()
61
+ message(STATUS "Boost-pool support is disabled.")
62
+ set(USE_BOOST_POOL "#undef USE_BOOST_POOL")
63
+endif()
64
65
66
# include subdirectories for handling of includes and source files
67
# ----------------------------------------------------------------
0 commit comments