You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# current boost-cmake/master does not install boost correctly, so warn that installed BTAS will not be usable
15
+
# boost-cmake/install_rules https://github.com/Orphis/boost-cmake/pull/45 is supposed to fix it but is inactive
16
+
message(WARNING "Building Boost from source makes BTAS unusable from the install location! Install Boost using package manage or manually and reconfigure/reinstall BTAS to fix this")
# if Boost not found, and BTAS_BUILD_DEPS_FROM_SOURCE=ON, use FetchContent to build it
26
+
if (NOTTARGET Boost::boost)
27
+
if (BTAS_BUILD_DEPS_FROM_SOURCE)
28
+
include(FindOrFetchBoost)
29
+
set(BTAS_BUILT_BOOST_FROM_SOURCE 1)
30
+
else(BTAS_BUILD_DEPS_FROM_SOURCE)
31
+
message(FATAL_ERROR "Boost is a required prerequisite of BTAS, but not found; install Boost or set BTAS_BUILD_DEPS_FROM_SOURCE=ON to obtain from source")
message(STATUS"Boost found at ${BOOST_ROOT}, but could not compile and/or run test program")
105
-
message(WARNING "To obtain usable Boost, use your system package manager (HomeBrew, apt, etc.) OR download at www.boost.org and compile (unpacking alone is not enough)")
106
-
message(WARNING "** !! due to missing Boost.Serialization the corresponding unit tests will be disabled !!")
message(STATUS"Boost found at ${BOOST_ROOT}, but could not compile and/or run test program")
123
+
message(WARNING "To obtain usable Boost, use your system package manager (HomeBrew, apt, etc.) OR download at www.boost.org and compile (unpacking alone is not enough)")
124
+
message(WARNING "** !! due to missing Boost.Serialization the corresponding unit tests will be disabled !!")
0 commit comments