Improve Mosek finder (build fusioncxx), link to it (and gurobi) in modern-cmake style

5 jobs for cgg2 in 11 minutes and 30 seconds (queued for 4 seconds)
Status Name Job ID Coverage
  Test
passed clang-c++11 #139686
Linux

00:11:28

failed CoMISo-VS2017-Qt-5.10.1-x64 #139688
VS2017 IPOPT3129

00:00:13

passed gcc-c++11 #139685
Linux

00:07:02

failed macos-c++11 #139687
Apple

00:00:23

 
  Deploy
skipped trigger_build #139689
 
Name Stage Failure
failed
CoMISo-VS2017-Qt-5.10.1-x64 Test


-- Configuring incomplete, errors occurred!
See also "E:/gitlab/builds/jYir6YD5/0/CoMISo/CoMISo/rel/CMakeFiles/CMakeOutput.log".
See also "E:/gitlab/builds/jYir6YD5/0/CoMISo/CoMISo/rel/CMakeFiles/CMakeError.log".

E:\gitlab\builds\jYir6YD5\0\CoMISo\CoMISo\rel>IF 1 NEQ 0 exit /b 1
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
macos-c++11 Test
In file included from /Users/jenkins/builds/b72f60fc/0/CoMISo/CoMISo/Solver/ConstrainedSolver.cc:26:
/Users/jenkins/builds/b72f60fc/0/CoMISo/CoMISo/Solver/ConstrainedSolverT.cc:760:44: error: no member named 'swap' in 'gmm::simple_vector_ref<gmm::wsvector<double> *>'
gmm::mat_row(d_tmp, row_ordering[i]).swap(gmm::mat_row(rhs_update_table_.D_, i));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
make[2]: *** [CMakeFiles/CoMISo.dir/Solver/ConstrainedSolver.cc.o] Error 1
make[1]: *** [CMakeFiles/CoMISo.dir/all] Error 2
make: *** [all] Error 2
Cleaning up file based variables
ERROR: Job failed: exit status 1