[thor] Fix error on Linux. (#6953)

This commit is contained in:
NancyLi1013 2019-06-20 14:52:54 -07:00 committed by Phil Christensen
parent 5f72d97b6e
commit e16efa4d6a
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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)