mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:11:58 +08:00
[asmtk] Fix downstream usage (#32451)
* [asmtk] fix static downstream usage * v db
This commit is contained in:
parent
4c21df20b2
commit
d25dff35e1
@ -25,6 +25,13 @@ vcpkg_copy_pdbs()
|
|||||||
|
|
||||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/asmtk)
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/asmtk)
|
||||||
|
|
||||||
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||||
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/asmtk/globals.h" "!defined(ASMTK_STATIC)" "0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(cmakefile "${CURRENT_PACKAGES_DIR}/share/asmtk/asmtk-config.cmake")
|
||||||
|
file(READ "${cmakefile}" contents)
|
||||||
|
file(WRITE "${cmakefile}" "include(CMakeFindDependencyMacro)\nfind_dependency(asmjit)\n${contents}")
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||||
|
|
||||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "asmtk",
|
"name": "asmtk",
|
||||||
"version-date": "2022-11-06",
|
"version-date": "2022-11-06",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Assembler toolkit based on AsmJit ",
|
"description": "Assembler toolkit based on AsmJit ",
|
||||||
"homepage": "https://github.com/asmjit/asmtk",
|
"homepage": "https://github.com/asmjit/asmtk",
|
||||||
"supports": "!arm",
|
"supports": "!arm",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "29f1e796d085204c9552c62adbe7279acfd8f3d9",
|
||||||
|
"version-date": "2022-11-06",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "9805dcacbdaa6f23d28fac07d973d22c2d00aec5",
|
"git-tree": "9805dcacbdaa6f23d28fac07d973d22c2d00aec5",
|
||||||
"version-date": "2022-11-06",
|
"version-date": "2022-11-06",
|
||||||
|
@ -250,7 +250,7 @@
|
|||||||
},
|
},
|
||||||
"asmtk": {
|
"asmtk": {
|
||||||
"baseline": "2022-11-06",
|
"baseline": "2022-11-06",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"assimp": {
|
"assimp": {
|
||||||
"baseline": "5.2.5",
|
"baseline": "5.2.5",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user