Skip to content

Commit

Permalink
[tensorflow-lite] Add layout()
Browse files Browse the repository at this point in the history
  • Loading branch information
talyz committed Sep 12, 2022
1 parent 63278c2 commit 4740f6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/tensorflow-lite/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from conan import ConanFile
from conan.tools.scm import Version
from conan.tools.cmake import CMake, CMakeToolchain, CMakeDeps
from conan.tools.cmake import CMake, CMakeToolchain, CMakeDeps, cmake_layout
from conan.tools.build import check_min_cppstd
from conan.tools.files import get, save, copy, export_conandata_patches, apply_conandata_patches
from conan.errors import ConanInvalidConfiguration
Expand Down Expand Up @@ -94,6 +94,9 @@ def validate(self):
def source(self):
get(self, **self.conan_data["sources"][self.version], strip_root=True, destination=self.source_folder)

def layout(self):
cmake_layout(self)

def build(self):
apply_conandata_patches(self)
cmake = CMake(self)
Expand Down

0 comments on commit 4740f6b

Please sign in to comment.