Let the user use the default CMakeList inside the template.

Summary:
I forgot to update the path of the default CMakeLists file for the template.
I'm doing it here.

Changelog:
[Internal] [Changed] - Let the user use the default CMakeList inside the template

Reviewed By: mdvacca, cipolleschi

Differential Revision: D40517207

fbshipit-source-id: 7c02ff5893064dbf54ad573c2984884b1017dacf
This commit is contained in:
Nicola Corti 2022-10-19 11:50:53 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 5ffd6559b2
Коммит 08dafd890c
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -60,8 +60,10 @@ internal object NdkConfiguratorUtils {
// If the user has not provided a CmakeLists.txt path, let's provide
// the default one from the framework
if (ext.externalNativeBuild.cmake.path == null) {
System.err.println("NCOR: Patching cmake path file")
ext.externalNativeBuild.cmake.path = File("TODO")
ext.externalNativeBuild.cmake.path =
File(
extension.reactNativeDir.get().asFile,
"cmake-utils/default-app-setup/CMakeLists.txt")
}
// Parameters should be provided in an additive manner (do not override what