mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 15:29:02 +08:00
11d559a0c9
* [soil] Update repository * Remove skip from ci.baseline.txt * Update CMakeLists.txt and add support field * update version files * Update to another repository * Rename SOILConfig.cmake.in to soilConfig.cmake.in * Update ports/soil/portfile.cmake * Update configureVersion file * Update and rename SOILConfigVersion.cmake.in to soilConfigVersion.cmake.in * Update version files * Update versions/s-/soil.json
29 lines
863 B
CMake
29 lines
863 B
CMake
vcpkg_fail_port_install(ON_TARGET "uwp")
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO paralin/soil
|
|
REF 8bb18a909f94e58afbc0bda941ffc6eee58b4066 # committed on 2014-03-06
|
|
SHA512 6cbaa10d8b2a274c389fda723db53a3f1ba7d25a7367df40efec4d0553c09f0d67fb16f927bba2ff0aed4234e3a83922edcc574ffac72dd7e05d6cec768b561b
|
|
HEAD_REF master
|
|
PATCHES fix-cmakelists.patch
|
|
)
|
|
|
|
file(COPY
|
|
${CMAKE_CURRENT_LIST_DIR}/soilConfig.cmake.in
|
|
${CMAKE_CURRENT_LIST_DIR}/soilConfigVersion.cmake.in
|
|
DESTINATION ${SOURCE_PATH}
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|