Added CMAKE_PREFIX_PATH to json recipe.
This commit is contained in:
parent
3261eb75d5
commit
b69c748ae2
@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
import os
|
||||||
import re
|
import re
|
||||||
from SCons.Script import *
|
from SCons.Script import *
|
||||||
|
|
||||||
@ -8,7 +9,8 @@ def _git_cook(env: Environment, repo: dict) -> dict:
|
|||||||
checkout_root = repo['checkout_root']
|
checkout_root = repo['checkout_root']
|
||||||
build_result = env.CMakeProject(project_root=checkout_root)
|
build_result = env.CMakeProject(project_root=checkout_root)
|
||||||
return {
|
return {
|
||||||
'CPPPATH': build_result['CPPPATH']
|
'CPPPATH': build_result['CPPPATH'],
|
||||||
|
'CMAKE_PREFIX_PATH': [build_result['install_dir']]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user