aboutsummaryrefslogtreecommitdiffstats
path: root/conanfile.py
diff options
context:
space:
mode:
authorJavier Jerónimo Suárez <jcjeronimo@genexies.net>2016-11-20 22:40:47 +0100
committerJavier Jerónimo Suárez <jcjeronimo@genexies.net>2016-11-20 22:40:47 +0100
commit5f786cdccd2b511f867d08dbe7a10b7566e1e9fe (patch)
tree53b9589267c49c92b5a28ff668745b93a01ab1dd /conanfile.py
parentc2f3aea0a1f60c7d2d5f586fe7abb2362c40faf3 (diff)
downloadcrow-5f786cdccd2b511f867d08dbe7a10b7566e1e9fe.tar.gz
crow-5f786cdccd2b511f867d08dbe7a10b7566e1e9fe.zip
Fixes
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/conanfile.py b/conanfile.py
index 9b06378..73d9b14 100644
--- a/conanfile.py
+++ b/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"]
-