Skip to content

require boost::filesystem in CMakeLists.txt [not central target branch]

The boost component filesystem should be declared to cmake for correct link flags. In this particular case we seem to be fine because - i suspect - filesystem comes in as dependency from somewhere else, but imho, we depend on boost filesystem directly here and should thus make the dependency explicit.

The same does not apply for process because process is header only and doesn't require linkage.

(Since we discussed that offline before, i ran a minimum working example)

no strong opinion from my side on the addition of REQUIRED.

Merge request reports

Loading