Update CMakeLists.txt for backward compatibility.

12 jobs for master in 43 minutes and 4 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #5187
build:9-debug-gcc

00:18:23

passed #5189
build:9-parallel-debug-gcc

00:30:44

passed #5190
build:9-parallel-release-gcc

00:31:39

passed #5188
build:9-release-gcc

00:20:05

 
  Demo
passed #5191
demo:9-debug-gcc

00:03:22

passed #5193
demo:9-parallel-debug-gcc

00:04:44

passed #5194
demo:9-parallel-release-gcc

00:04:17

passed #5192
demo:9-release-gcc

00:03:18

 
  Test
passed #5195
test:9-debug-gcc

00:05:00

passed #5197
test:9-parallel-debug-gcc

00:04:43

passed #5198
test:9-parallel-release-gcc

00:06:06

passed #5196
test:9-release-gcc

00:06:39