[SyneRBI/SIRF] upgrade finding of Gadgetron toolboxes once we update our Gadgetron requirement (Issue #1144)

1 view
Skip to first unread message

Kris Thielemans

unread,
Nov 11, 2022, 5:49:17 PM11/11/22
to SyneRBI/SIRF, Subscribed

We currently find files explicitly https://github.com/SyneRBI/SIRF/blob/b1a476342b5b7674e798c314d2ae32364e7fdde6/src/xGadgetron/cGadgetron/CMakeLists.txt#L45
Newer Gadgetron exports a CMake config file. The above lines should therefore be something like

find_package(gadgetron)
if (gadgetron_FOUND)
  set (GT_LIBS
        Gadgetron::gadgetron_toolbox_cpucore Gadgetron::gadgetron_toolbox_cpufft 
        Gadgetron::gadgetron_toolbox_cpunfft Gadgetron::gadgetron_toolbox_log )
else()
  # old code here
endif()

let's only try this after SyneRBI/SIRF-SuperBuild#438 is merged of course.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/issues/1144@github.com>

Kris Thielemans

unread,
Nov 29, 2022, 7:35:51 AM11/29/22
to SyneRBI/SIRF, Subscribed

Closed #1144 as completed via #1151.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/issue/1144/issue_event/7912134655@github.com>

Reply all
Reply to author
Forward
0 new messages