diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2019-06-20 14:52:54 -0700 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-06-20 14:52:54 -0700 |
| commit | e16efa4d6aa6f36247eb6dfd646fdf81af0c36e0 (patch) | |
| tree | 87c7950d5f63350be12d949528e110daaac84404 | |
| parent | 5f72d97b6e8e8dbd648567d2601c9a5c2e69eb85 (diff) | |
| download | vcpkg-e16efa4d6aa6f36247eb6dfd646fdf81af0c36e0.tar.gz vcpkg-e16efa4d6aa6f36247eb6dfd646fdf81af0c36e0.zip | |
[thor] Fix error on Linux. (#6953)
| -rw-r--r-- | ports/thor/CONTROL | 3 | ||||
| -rw-r--r-- | ports/thor/portfile.cmake | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/thor/CONTROL b/ports/thor/CONTROL index afdc2aafb..5391f5d62 100644 --- a/ports/thor/CONTROL +++ b/ports/thor/CONTROL @@ -1,5 +1,4 @@ Source: thor -Version: 2.0-2 -Homepage: https://github.com/Bromeon/Thor +Version: 2.0-3 Description: Extends the multimedia library SFML with higher-level features Build-Depends: sfml, aurora diff --git a/ports/thor/portfile.cmake b/ports/thor/portfile.cmake index 572853064..19f65f806 100644 --- a/ports/thor/portfile.cmake +++ b/ports/thor/portfile.cmake @@ -49,6 +49,9 @@ endif() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/Aurora) +if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux") +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) +endif() file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/thor RENAME copyright) |
