Skip to content

Commit

Permalink
Update conanfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kinokrt authored Dec 14, 2023
1 parent 12c39ae commit b4dc83e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from conan import ConanFile
from conan.tools.cmake import cmake_layout, CMakeDeps
from conan.tools.cmake import CMake, cmake_layout, CMakeDeps

class IpcRecipe(ConanFile):
name = "ipc"
Expand All @@ -24,6 +24,14 @@ class IpcRecipe(ConanFile):
"doc": False
}

def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()

if self.options.build:
cmake.install()

def requirements(self):
if self.options.build:
self.requires("capnproto/1.0.1")
Expand Down

0 comments on commit b4dc83e

Please sign in to comment.