- Use CFLAGS and CXXFLAGS instead of CMAKE_CXX_FLAGS and CMAKE_C_FLAGS. - Use MODCMAKE_LDFLAGS instead of CMAKE_EXE_LINKER_FLAGS - Fix broken builds with CMake 3.23