Modernize CMakeLists.txt