vcpkg/ports/msix/install-cmake.patch

28 lines
878 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8ee0443..8c0a868 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -266,3 +266,5 @@ message(STATUS "sample processed")
add_subdirectory(test)
message(STATUS "tests processed")
message(STATUS "DONE!")
+
+install(TARGETS msix)
2018-03-09 07:33:11 +08:00
diff --git a/src/msix/CMakeLists.txt b/src/msix/CMakeLists.txt
index 817040b..6b16b69 100644
2018-03-09 07:33:11 +08:00
--- a/src/msix/CMakeLists.txt
+++ b/src/msix/CMakeLists.txt
@@ -164,9 +164,9 @@ message(STATUS "PAL: Compression = ${CompressionObject}")
include(msix_resources)
2018-03-09 07:33:11 +08:00
set(LIB_PUBLIC_HEADERS
- ../inc/AppxPackaging.hpp
- ../inc/MSIXWindows.hpp
- ../inc/MsixErrors.hpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/../inc/AppxPackaging.hpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/../inc/MSIXWindows.hpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/../inc/MsixErrors.hpp
2018-03-09 07:33:11 +08:00
)
# Bundle specific files