File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,13 @@ else ()
2525endif ()
2626
2727set (CMAKE_COMPILE_WARNING_AS_ERROR ON )
28- set (CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX} /lib)
28+
29+ if (USE_COVERAGE)
30+ set (CMAKE_INSTALL_RPATH "${CMAKE_BINARY_DIR} /ppc_onetbb/install/lib" )
31+ else ()
32+ set (CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX} /lib" )
33+ endif ()
34+
2935set (CMAKE_BUILD_WITH_INSTALL_RPATH ON )
3036set (CMAKE_INSTALL_RPATH_USE_LINK_PATH ON )
3137set (CMAKE_SKIP_BUILD_RPATH OFF )
Original file line number Diff line number Diff line change @@ -59,7 +59,10 @@ def __source_script(script_path):
5959 return {}
6060
6161 def setup_env (self ):
62- self .work_dir = Path (self .__get_project_path ()) / "install" / "bin"
62+ if (Path (self .__get_project_path ()) / "install" ).exists ():
63+ self .work_dir = Path (self .__get_project_path ()) / "install" / "bin"
64+ else :
65+ self .work_dir = Path (self .__get_project_path ()) / "build" / "bin"
6366
6467 @staticmethod
6568 def __run_exec (command ):
You can’t perform that action at this time.
0 commit comments