Skip to content

Commit 775a16a

Browse files
committed
Fixed issue with relative path from TBB cmake
1 parent f454059 commit 775a16a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build_scripts/build_usd.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ def InstallTBB_Windows(context, force, buildArgs):
10371037
),
10381038
(
10391039
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)",
1040-
"get_filename_component(_tbb_root \"${_tbb_root}/../..\" ABSOLUTE)"
1040+
"get_filename_component(_tbb_root \"${_tbb_root}/../../..\" ABSOLUTE)"
10411041
),
10421042
(
10431043
"get_filename_component(_tbb_lib_path \"${_tbb_root}/bin/${_tbb_arch_subdir}/${_tbb_compiler_subdir}\" ABSOLUTE)",
@@ -1178,7 +1178,7 @@ def _RunBuild(arch):
11781178
),
11791179
(
11801180
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)",
1181-
"get_filename_component(_tbb_root \"${_tbb_root}/../..\" ABSOLUTE)"
1181+
"get_filename_component(_tbb_root \"${_tbb_root}/../../..\" ABSOLUTE)"
11821182
),
11831183
(
11841184
"get_filename_component(_tbb_lib_path \"${_tbb_root}/lib/${_tbb_arch_subdir}/${_tbb_compiler_subdir}\" ABSOLUTE)",
@@ -1252,7 +1252,7 @@ def InstallTBB_Linux(context, force, buildArgs):
12521252
),
12531253
(
12541254
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)",
1255-
"get_filename_component(_tbb_root \"${_tbb_root}/../..\" ABSOLUTE)"
1255+
"get_filename_component(_tbb_root \"${_tbb_root}/../../..\" ABSOLUTE)"
12561256
),
12571257
(
12581258
"get_filename_component(_tbb_lib_path \"${_tbb_root}/lib/${_tbb_arch_subdir}/${_tbb_compiler_subdir}\" ABSOLUTE)",

0 commit comments

Comments
 (0)