mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Fixes
This commit is contained in:
parent
c2f3aea0a1
commit
5f786cdccd
11
conanfile.py
11
conanfile.py
@ -6,6 +6,7 @@ class CrowConan(ConanFile):
|
||||
url = "https://github.com/javierjeronimo/crow"
|
||||
license = "see https://github.com/ipkn/crow/blob/master/LICENSE"
|
||||
generators = "cmake"
|
||||
settings = "os", "compiler", "build_type", "arch"
|
||||
|
||||
requires = (("Boost/1.60.0@lasote/stable"),
|
||||
("OpenSSL/1.0.2i@lasote/stable"))
|
||||
@ -17,13 +18,9 @@ class CrowConan(ConanFile):
|
||||
|
||||
def build(self):
|
||||
cmake = CMake(self.settings)
|
||||
self.run('cmake %s/crow %s' % (self.conanfile_directory, cmake.command_line))
|
||||
self.run("cmake --build . %s" % cmake.build_config)
|
||||
self.run("make")
|
||||
self.run('cmake %s/crow %s' % (self.conanfile_directory, cmake.command_line))
|
||||
self.run("cmake --build . %s" % cmake.build_config)
|
||||
self.run("make")
|
||||
|
||||
def package(self):
|
||||
self.copy("*.h", dst="include", src="amalgamate")
|
||||
|
||||
def package_info(self):
|
||||
self.cpp_info.libs = ["crow"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user