[projectm-eval] Fix/add "ns-eel2" feature (#40759)

This commit is contained in:
Kai Blaschke 2024-09-17 20:46:56 +02:00 committed by GitHub
parent aead4328c2
commit efdc091214
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 3 deletions

View File

@ -17,8 +17,14 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
PACKAGE_NAME "projectm-eval"
CONFIG_PATH "lib/cmake/projectM-Eval"
PACKAGE_NAME "projectm-eval"
CONFIG_PATH "lib/cmake/projectM-Eval"
DO_NOT_DELETE_PARENT_CONFIG_PATH
)
vcpkg_cmake_config_fixup(
PACKAGE_NAME "projectM-EvalMilkdrop"
CONFIG_PATH "lib/cmake/projectM-EvalMilkdrop"
)
vcpkg_fixup_pkgconfig()

View File

@ -2,3 +2,8 @@ projectm-eval provides CMake targets:
find_package(projectM-Eval REQUIRED)
target_link_libraries(main PRIVATE projectM::Eval)
To use the ns-eel2 shim with the Milkdrop codebase:
find_package(projectM-Eval REQUIRED COMPONENTS Milkdrop)
target_link_libraries(main PRIVATE projectM::ns-eel2)

View File

@ -1,6 +1,7 @@
{
"name": "projectm-eval",
"version": "1.0.0",
"port-version": 1,
"description": "The projectM Expression Evaluation Library. A portable drop-in replacement of Milkdrop's \"ns-eel2\" expression parser for use in Milkdrop, projectM and other applications.",
"homepage": "https://github.com/projectM-visualizer/projectm-eval",
"license": "MIT",

View File

@ -7142,7 +7142,7 @@
},
"projectm-eval": {
"baseline": "1.0.0",
"port-version": 0
"port-version": 1
},
"prometheus-cpp": {
"baseline": "1.2.4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c21e929bb3f98383e81a4821e0aa8b2cb1413f88",
"version": "1.0.0",
"port-version": 1
},
{
"git-tree": "3c32881926b002ddd0fa05b351774ebe69f81fa1",
"version": "1.0.0",