File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ endif()
7777set (TEST_PYTHONPATH ${TEST_PYTHONPATH} :$ENV{PYTHONPATH} )
7878
7979
80+ set_property (TEST py:phlex
81+ PROPERTY ENVIRONMENT
82+ "PHLEX_INSTALL=${PYTHON_TEST_PHLEX_INSTALL} "
83+ )
84+
8085set_property (TEST py:add
8186 PROPERTY ENVIRONMENT
8287 "SPDLOG_LEVEL=debug;PHLEX_PLUGIN_PATH=${CMAKE_CURRENT_BINARY_DIR} ;PYTHONPATH=${TEST_PYTHONPATH} ;PHLEX_INSTALL=${PYTHON_TEST_PHLEX_INSTALL} "
Original file line number Diff line number Diff line change 1414PHLEX_INSTALL = os .environ ["PHLEX_INSTALL" ]
1515
1616# load phlex headers
17- cppyy .add_include_path (os .path .join (PHLEX_INSTALL , "include" ))
17+ includedir = os .path .join (PHLEX_INSTALL , "include" )
18+ if not os .path .exists (includedir ):
19+ includedir = PHLEX_INSTALL
20+ cppyy .add_include_path (includedir )
1821cppyy .include ("phlex/core/framework_graph.hpp" )
1922cppyy .include ("phlex/configuration.hpp" )
2023
You can’t perform that action at this time.
0 commit comments