Skip to content

Commit

Permalink
try to help cmake find R library
Browse files Browse the repository at this point in the history
  • Loading branch information
Ista Zahn committed Sep 11, 2022
1 parent cad081f commit ab9c257
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipe/build-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ ln -sfT ${PREFIX}/share/hunspell_dictionaries dictionaries
ln -sfT ${PREFIX}/lib/mathjax mathjax-27
popd

if [[ $target_platform =~ .*osx.* ]]; then
CMAKE_ARGS+=" -DLIBR_LIBRARIES=${PREFIX}/lib "
fi

cmake -S . -B build ${CMAKE_ARGS} \
-DRSTUDIO_TARGET=Desktop \
-DCMAKE_BUILD_TYPE=Release \
Expand Down

0 comments on commit ab9c257

Please sign in to comment.