Skip to content

Commit

Permalink
fix conanfile install for cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
gagelarsen committed Dec 3, 2018
1 parent ae56b0c commit 8042a11
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def build(self):
cmake.definitions["PYTHON_TARGET_VERSION"] = self.env.get("PYTHON_TARGET_VERSION", "3.6")
cmake.configure(source_folder=".")
cmake.build()
cmake.install()

if self.options.testing:
print("***********(0.0)*************")
Expand All @@ -99,16 +100,6 @@ def build(self):


def package(self):
self.copy("*.h", dst="include/xmsinterp", src="xmsinterp")
self.copy("*.lib", dst="lib", keep_path=False)
self.copy("*.exp", dst="lib", keep_path=False)
self.copy("*.pyd", dst="site-packages", keep_path=False)
self.copy("*_py.*.so", dst="site-packages", keep_path=False)
self.copy("*_py.so", dst="site-packages", keep_path=False)
self.copy("*.dll", dst="bin", keep_path=False)
self.copy("*.dylib*", dst="lib", keep_path=False)
self.copy("*.so", dst="lib", keep_path=False)
self.copy("*.a", dst="lib", keep_path=False)
self.copy("license", dst="licenses", ignore_case=True, keep_path=False)

def package_info(self):
Expand Down

0 comments on commit 8042a11

Please sign in to comment.