fix suitesparse finder in case cholmod is found but suitesparse is not found on apple

6 jobs for CMakeTargetDebugging in 7 minutes and 33 seconds
Status Job ID Name Coverage
  Test
failed #68380
Qt551 VS2013
CoMISo-VS2013-Qt-5.5.1-x64

00:01:00

passed #68381
IPOPT3129 VS2017
CoMISo-VS2017-Qt-5.10.1-x64

00:01:19

passed #68378
Linux
clang-c++11

00:06:51

passed #68377
Linux
gcc-c++11

00:06:44

failed #68379
Apple
macos-c++11

00:01:42

 
  Deploy
skipped #68382
trigger_build
 
Name Stage Failure
failed
CoMISo-VS2013-Qt-5.5.1-x64 Test
14>LINK : fatal error LNK1181: cannot open input file '..\..\Release\CoMISo.lib'
16>LINK : fatal error LNK1181: cannot open input file '..\..\Release\CoMISo.lib'
15>LINK : fatal error LNK1181: cannot open input file '..\..\Release\CoMISo.lib'
5>LINK : fatal error LNK1181: cannot open input file '..\..\Release\CoMISo.lib'
18>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------
18> Building Custom Rule E:/gitlab/builds/1900f1de/0/CoMISo/CoMISo/CMakeLists.txt
18> CMake does not need to re-run because E:/gitlab/builds/1900f1de/0/CoMISo/CoMISo/rel/CMakeFiles/generate.stamp is up-to-date.
========== Build: 2 succeeded, 16 failed, 0 up-to-date, 0 skipped ==========
ERROR: Job failed: exit status 1
failed
macos-c++11 Test
[ 61%] Building CXX object CMakeFiles/CoMISo.dir/Utils/CoMISoError.cc.o
[ 62%] Building CXX object CMakeFiles/CoMISo.dir/QtWidgets/MISolverDialogUI.cc.o
[ 63%] Linking CXX shared library libCoMISo.dylib
ld: library not found for -lSuiteSparse
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libCoMISo.dylib] Error 1
make[1]: *** [CMakeFiles/CoMISo.dir/all] Error 2
make: *** [all] Error 2
ERROR: Job failed: exit status 1