From b69c748ae28f4924ba07b40047e6c0f64caae0bf Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Thu, 3 Apr 2025 16:31:18 +0200 Subject: [PATCH] Added CMAKE_PREFIX_PATH to json recipe. --- recipes/json/recipe.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/json/recipe.py b/recipes/json/recipe.py index 6888cb8..d5086da 100644 --- a/recipes/json/recipe.py +++ b/recipes/json/recipe.py @@ -1,5 +1,6 @@ +import os import re from SCons.Script import * @@ -8,7 +9,8 @@ def _git_cook(env: Environment, repo: dict) -> dict: checkout_root = repo['checkout_root'] build_result = env.CMakeProject(project_root=checkout_root) return { - 'CPPPATH': build_result['CPPPATH'] + 'CPPPATH': build_result['CPPPATH'], + 'CMAKE_PREFIX_PATH': [build_result['install_dir']] }