Skip to content

Commit

Permalink
Let the user use the default CMakeList inside the template.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cortinico authored and OlimpiaZurek committed May 22, 2023
1 parent 710ca20 commit a32bb3f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a32bb3f

Please sign in to comment.