Add libmt32emu and libslirp as optional dependencies to vcpkg manifest
This commit is contained in:
@@ -22,6 +22,14 @@ if (QT)
|
|||||||
list(APPEND VCPKG_MANIFEST_FEATURES "qt-ui")
|
list(APPEND VCPKG_MANIFEST_FEATURES "qt-ui")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(SLIRP_EXTERNAL)
|
||||||
|
list(APPEND VCPKG_MANIFEST_FEATURES "slirp")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(MUNT_EXTERNAL)
|
||||||
|
list(APPEND VCPKG_MANIFEST_FEATURES "munt")
|
||||||
|
endif()
|
||||||
|
|
||||||
project(86Box
|
project(86Box
|
||||||
VERSION 3.2
|
VERSION 3.2
|
||||||
DESCRIPTION "Emulator of x86-based systems"
|
DESCRIPTION "Emulator of x86-based systems"
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
# Copyright 2021 David Hrdlička.
|
# Copyright 2021 David Hrdlička.
|
||||||
#
|
#
|
||||||
|
|
||||||
string(APPEND CMAKE_C_FLAGS_INIT " -march=armv8-a -mfloat-abi=hard")
|
string(APPEND CMAKE_C_FLAGS_INIT " -march=armv8-a -mfloat-abi=hard ${CMAKE_C_FLAGS_INIT}")
|
||||||
string(APPEND CMAKE_CXX_FLAGS_INIT " -march=armv8-a -mfloat-abi=hard")
|
string(APPEND CMAKE_CXX_FLAGS_INIT " -march=armv8-a -mfloat-abi=hard ${CMAKE_C_FLAGS_INIT}")
|
||||||
|
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/flags-gcc.cmake)
|
include(${CMAKE_CURRENT_LIST_DIR}/flags-gcc.cmake)
|
12
vcpkg.json
12
vcpkg.json
@@ -18,6 +18,18 @@
|
|||||||
"qt5-base",
|
"qt5-base",
|
||||||
"qt5-translations"
|
"qt5-translations"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"munt": {
|
||||||
|
"description": "Roland MT-32 emulation",
|
||||||
|
"dependencies": [
|
||||||
|
"libmt32emu"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"slirp": {
|
||||||
|
"description": "Slirp network support",
|
||||||
|
"dependencies": [
|
||||||
|
"libslirp"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user