diff --git a/cmake/draco_features.cmake b/cmake/draco_features.cmake index 7a6ce7d..8b56aa8 100644 --- a/cmake/draco_features.cmake +++ b/cmake/draco_features.cmake @@ -52,10 +52,13 @@ function(draco_generate_features_h) file(APPEND "${draco_features_file_name}.new" "#define ${feature}\n") endforeach() - file(APPEND "${draco_features_file_name}.new" "\n#endif // DRACO_FEATURES_H_") + file(APPEND "${draco_features_file_name}.new" + "\n#endif // DRACO_FEATURES_H_") - # Will replace ${draco_features_file_name} only if the file content has changed. - # This prevents forced Draco rebuilds after CMake runs. - configure_file("${draco_features_file_name}.new" "${draco_features_file_name}") + # Will replace ${draco_features_file_name} only if the file content has + # changed. This prevents forced Draco rebuilds after CMake runs. + configure_file("${draco_features_file_name}.new" + "${draco_features_file_name}") file(REMOVE "${draco_features_file_name}.new") + endfunction()