[ripple/rippled] Modernize CMake Build (#2579)

mellery451 commented on this pull request.

> +add_library (ripple_libs INTERFACE)
+add_library (Ripple::libs ALIAS ripple_libs)
+target_link_libraries (ripple_libs INTERFACE Ripple::syslibs)
+
+#[===================================================================[
+ NIH dep: boost
+#]===================================================================]
+
+if ((NOT DEFINED BOOST_ROOT) AND (DEFINED ENV{BOOST_ROOT}))
+ set (BOOST_ROOT $ENV{BOOST_ROOT})
+endif ()
+file (TO_CMAKE_PATH “${BOOST_ROOT}” BOOST_ROOT)
+if (WIN32 OR CYGWIN)
+ # Workaround for MSVC having two boost versions – x86 and x64 on same PC in stage folders
+ if (DEFINED BOOST_ROOT)
+ if (CMAKE_SIZEOF_VOID_P EQUAL 8 AND IS_DIRECTORY ${BOOST_ROOT}/stage64/lib)

I think you’re right…I’ll make the previous 64 bit check FATAL and remove this check

This post was last modified on June 15, 2018, 2:16 am