SyneRBI / SIRF-SuperBuild

SIRF CMake SuperBuild
http://www.ccpsynerbi.ac.uk
Apache License 2.0
15 stars 17 forks source link

Need to pass -DBOOST_ALL_DYN_LINK to ISMRMRD on Windows #403

Closed KrisThielemans closed 3 years ago

KrisThielemans commented 4 years ago

On Windows we have linking problems with ISMRMRD on Windows. I can resolve this by setting BOOST_ALL_DYN_LINK in the project, but can't do this via the SuperBuild. I tried to do this by setting CMAKE_CXX_FLAGS but failed. See here for my question on CMake Discourse.

Here's a few more details on what happened

KrisThielemans commented 3 years ago

These problems could be resolved probably as done in https://github.com/SyneRBI/SIRF-SuperBuild/blob/a339f17e7580307aa8394e9c164f4f610462914a/SuperBuild/External_Boost.cmake#L116-L117 However, this causes #455