Skip to content

Commit

Permalink
add msix/1.7
Browse files Browse the repository at this point in the history
- reduce the patch size
  • Loading branch information
vaerizk committed Aug 20, 2021
1 parent 206fea4 commit a3144aa
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 274 deletions.
2 changes: 1 addition & 1 deletion recipes/msix/all/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ cmake_minimum_required(VERSION 2.8.0)
project(cmake_wrapper)

include(conanbuildinfo.cmake)
conan_basic_setup()
conan_basic_setup(TARGETS)

add_subdirectory("source_subfolder")
3 changes: 3 additions & 0 deletions recipes/msix/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def _configure_cmake(self):
self._cmake.definitions["USE_SHARED_ZLIB"] = self.options["zlib"].shared
self._cmake.definitions["USE_VALIDATION_PARSER"] = self.options.use_validation_parser
self._cmake.definitions["XML_PARSER"] = self.options.xml_parser
self._cmake.definitions["CALCULATE_VERSION"] = False
self._cmake.definitions["ENABLE_NUGET_PACKAGING"] = False
self._cmake.configure()
return self._cmake

Expand Down Expand Up @@ -142,6 +144,7 @@ def build(self):
def package(self):
cmake = self._configure_cmake()
cmake.install()
self.copy("LICENSE", dst="licenses", src=self._source_subfolder)

def package_info(self):
self.cpp_info.libs = tools.collect_libs(self)
Expand Down
Loading

0 comments on commit a3144aa

Please sign in to comment.