[cmake] avoid deprecation warnings

10 jobs for !205 with feature/rename-cmake-functions in 10 minutes and 3 seconds (queued for 2 seconds)
detached
Status Name Job ID Coverage
  Build
passed build clang-10 occ-7.5 #6873

00:04:31

passed build clang-8 occ-7.3 #6872

00:04:31

passed build_doc #6869

00:01:49

passed build gcc-7 occ-7.3 #6870

00:05:36

passed build gcc-9 occ-7.5 #6871

00:05:26

 
  Test
passed test clang-10 occ-7.5 #6877

00:01:55

passed test clang-8 occ-7.3 #6876

00:01:57

passed test gcc-7 occ-7.3 #6874

00:03:10

passed test gcc-9 occ-7.5 #6875

00:01:45

 
  Coverage
passed coverage report #6878

00:01:13

94.0%