forked from ports/contrib
rstudio: updated cmake syntax
This commit is contained in:
parent
425f30a39a
commit
540d12de5e
rstudio
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF33JgtNB9qH1uwksUBdMx9kvBPPf2Xjzyp3bg3dIPa5h69cwd1P54qsYQnX71Bf+mBwrbiSZJCw3b33DvmOerIQ4=
|
||||
SHA256 (Pkgfile) = ae7690bee858e1f6fd5c5813467c148af618520437ad81458eb86719ee5fdeda
|
||||
RWSagIOpLGJF39ATqjc5gsa22KTN80dBqYzqhl7k1ea4o/eB4n2BuAvX4jnB4M0ZxaTm0WL5+P+n5bQMnCz9SXxAJZKINWMMoQI=
|
||||
SHA256 (Pkgfile) = 849edb91004b067eb1ae3cb7056d656503829beb9e28551504d6cfd94027d192
|
||||
SHA256 (.footprint) = eeda69eeafe78523234a582d79d8157e75cd64a66ea3040797a1520015c04845
|
||||
SHA256 (rstudio-1.3.1093.tar.gz) = af8dc5e71ee934043856938af2e2065d1f1efef08aba37962ed03f6ccb8201bb
|
||||
SHA256 (rstudio-1.2.5042-boost-1.73.0.patch) = 5d282059731b64579c0f8c8eeb280b4c4efe810ce829ad7332385b0a92e1215e
|
||||
|
@ -30,14 +30,16 @@ build() {
|
||||
popd
|
||||
|
||||
export PATH="/usr/lib/java/openjdk8/jre/bin/:${PATH}"
|
||||
cmake -S$name-$version -Bbuild -GNinja\
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/lib/rstudio \
|
||||
-DRSTUDIO_TARGET=Desktop \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DRSTUDIO_USE_SYSTEM_BOOST=ON \
|
||||
-DQT_QMAKE_EXECUTABLE=/usr/lib/qt5/bin/qmake \
|
||||
-DBoost_NO_BOOST_CMAKE=ON \
|
||||
-DRSTUDIO_BUNDLE_QT=FALSE \
|
||||
cmake -S $name-$version -B build -G Ninja\
|
||||
-D CMAKE_INSTALL_PREFIX=/usr/lib/rstudio \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
-D RSTUDIO_TARGET=Desktop \
|
||||
-D RSTUDIO_USE_SYSTEM_BOOST=ON \
|
||||
-D QT_QMAKE_EXECUTABLE=/usr/lib/qt5/bin/qmake \
|
||||
-D Boost_NO_BOOST_CMAKE=ON \
|
||||
-D RSTUDIO_BUNDLE_QT=FALSE \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
|
Loading…
x
Reference in New Issue
Block a user