Skip to content

Commit 18991ef

Browse files
committed
try explicit public dependence
1 parent 6942185 commit 18991ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ jobs:
136136
export CMAKE_PREFIX_PATH=${{github.workspace}}/local:$CMAKE_PREFIX_PATH
137137
mkdir -p ${{github.workspace}}/sopt/build
138138
cd ${{github.workspace}}/sopt/build
139+
sed -i -e 's/target_link_libraries(sopt/target_link_libraries(sopt PUBLIC/g' ../cpp/sopt/CMakeLists.txt
139140
cmake .. --fresh -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local -Donnxrt=ON -Ddompi=${{matrix.mpi}} -Dopenmp=${{matrix.omp}} -Dtests=OFF -Dexamples=OFF
140141
make -j$(nproc --ignore 1) install
141142

0 commit comments

Comments
 (0)