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 ()
25
25
endif ()
26
26
27
27
set (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
+
29
35
set (CMAKE_BUILD_WITH_INSTALL_RPATH ON )
30
36
set (CMAKE_INSTALL_RPATH_USE_LINK_PATH ON )
31
37
set (CMAKE_SKIP_BUILD_RPATH OFF )
Original file line number Diff line number Diff line change @@ -59,7 +59,10 @@ def __source_script(script_path):
59
59
return {}
60
60
61
61
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"
63
66
64
67
@staticmethod
65
68
def __run_exec (command ):
You can’t perform that action at this time.
0 commit comments