diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2020-05-27 11:40:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 20:40:27 -0700 |
| commit | c3cfb02466318e328c7e9ef56ba28bcafce96cfd (patch) | |
| tree | 8c33e26186facdd9ad4df6b18f466a2c518403ae /ports/activemq-cpp/portfile.cmake | |
| parent | 6a400388bb8ef70c665320fc4668fb1def3a8e17 (diff) | |
| download | vcpkg-c3cfb02466318e328c7e9ef56ba28bcafce96cfd.tar.gz vcpkg-c3cfb02466318e328c7e9ef56ba28bcafce96cfd.zip | |
[libusbmuxd berkeleydb cppcms activemq-cpp] Add Supports and failure message (#11589)
* [libusbmuxd berkeleydb cppcms] Add Supports and failure message
* Add Supports for activemq-cpp
Diffstat (limited to 'ports/activemq-cpp/portfile.cmake')
| -rw-r--r-- | ports/activemq-cpp/portfile.cmake | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ports/activemq-cpp/portfile.cmake b/ports/activemq-cpp/portfile.cmake index 5353e5dd4..1b83fd1e3 100644 --- a/ports/activemq-cpp/portfile.cmake +++ b/ports/activemq-cpp/portfile.cmake @@ -1,8 +1,4 @@ -include(vcpkg_common_functions)
-
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message(FATAL_ERROR "${PORT} does not currently support UWP")
-endif()
+vcpkg_fail_port_install( ON_TARGET "uwp" "linux" "osx")
set(VERSION 3.9.5)
@@ -42,10 +38,7 @@ vcpkg_build_msbuild( vcpkg_copy_pdbs()
-# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/activemq-cpp)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/activemq-cpp/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/activemq-cpp/copyright)
-
+file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(
COPY
|
